Shadow layer Swap() implementations for images and canvas don't work correctly the first time

RESOLVED FIXED in mozilla12

Status

()

Core
Graphics
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

Trunk
mozilla12
x86
Mac OS X
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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.
Blocks: 598482
Created attachment 588593 [details] [diff] [review]
Make sure to update our stored size on Swap() even if we didn't already have a front surface.
Attachment #588593 - Flags: review?(jones.chris.g)
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
https://hg.mozilla.org/integration/mozilla-inbound/rev/da960aeaf4bf
Flags: in-testsuite+
Target Milestone: --- → mozilla12
https://hg.mozilla.org/mozilla-central/rev/da960aeaf4bf
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.