Closed
Bug 1294607
Opened 9 years ago
Closed 9 years ago
Remove redundant EnsureTarget in CanvasRenderingContext2D
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: ethlin, Assigned: ethlin)
Details
Attachments
(1 file, 1 obsolete file)
1.95 KB,
patch
|
Details | Diff | Splinter Review |
Some functions call EnsureTarget twice. I think we can remove them.
Assignee | ||
Comment 1•9 years ago
|
||
DrawWindow and PutImageData_explicit have two EnsureTarget. I removed the second one in this patch.
Attachment #8780369 -
Flags: review?(nical.bugzilla)
Updated•9 years ago
|
Attachment #8780369 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6493296521fb
Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical
Keywords: checkin-needed
Comment 4•9 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/d0bf2598bf6a because the crashtest 1246775-1.html disagrees that it's unnecessary, https://treeherder.mozilla.org/logviewer.html#?job_id=33902610&repo=mozilla-inbound or https://treeherder.mozilla.org/logviewer.html#?job_id=33901726&repo=mozilla-inbound or https://treeherder.mozilla.org/logviewer.html#?job_id=33902162&repo=mozilla-inbound depending on which style of crashing you like best.
Assignee | ||
Comment 5•9 years ago
|
||
I should keep the second EnsureTarget in the DrawWindows.
Attachment #8780369 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/44ec827b73e9
Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical
Keywords: checkin-needed
Comment 7•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•