In particular, the first Swap() call has an invalid front surface (of course), but we end up not updating mBounds as a result. That means that if there are no more Swap() calls we won't paint correctly.
Attachment #588593 - Flags: review?(jones.chris.g) → review+
Summary: Shadow layer Swap() implementation for images and canvas don't work correctly the first time → Shadow layer Swap() implementations for images and canvas don't work correctly the first time
Target Milestone: --- → mozilla12
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.