Closed
Bug 1279628
Opened 8 years ago
Closed 8 years ago
Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize, then kill of the latter helper
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
Attachments
(2 files)
1.11 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
10.03 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8762197 -
Flags: review?(bas)
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8762198 -
Flags: review?(bas)
Updated•8 years ago
|
Attachment #8762197 -
Flags: review?(bas) → review+
Updated•8 years ago
|
Attachment #8762198 -
Flags: review?(bas) → review+
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/416fa9aeec55 part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange https://hg.mozilla.org/integration/mozilla-inbound/rev/07e4432bd6b3 part 2 - Replace all gfxASurface::CheckSurfaceSize calls with Factory::CheckSurfaceSize and remove gfxASurface::CheckSurfaceSize. r=mstange
Comment 4•8 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/72577f72121a09977fdf229b720f2a15c4597365 for tons of reftest bustage.
Assignee | ||
Comment 5•8 years ago
|
||
Turns out this is due to the change in CanvasRenderingContext2D::DrawWindow, and it happens because there's one significant difference between gfxASurface::CheckSurfaceSize and Factory::CheckSurfaceSize - the former returns false if the width/height are less than zero, whereas the latter returns false if the width/height are less than or equal to zero. I'll split the CanvasRenderingContext2D::DrawWindow change out into a 'part 3' patch, and add an explicit check for zero width/height to it before calling Factory::CheckSurfaceSize.
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/a643f56f7523 part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/56154813d29d part 2 - Switch all but one of the gfxASurface::CheckSurfaceSize calls to call Factory::CheckSurfaceSize. r=mstange
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/47c5f6b6fc0f part 3 - Replace the last gfxASurface::CheckSurfaceSize call, and remove gfxASurface::CheckSurfaceSize. r=mstange
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a643f56f7523 https://hg.mozilla.org/mozilla-central/rev/56154813d29d https://hg.mozilla.org/mozilla-central/rev/47c5f6b6fc0f
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•