Closed Bug 1296166 Opened 8 years ago Closed 8 years ago

Avoid calling EnsureTarget in CanvasRenderingContext2D::GetImageData

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: ethlin, Assigned: ethlin)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file, 1 obsolete file)

I think we can try to avoid EnsureTarget in GetImageData. This should be similar with GetImageBuffer.
Whiteboard: [gfx-noted]
Attached patch avoid calling EnsureTarget (obsolete) (deleted) — Splinter Review
I did similar thing as GetImageBuffer.
Attachment #8782261 - Flags: review?(nical.bugzilla)
Attachment #8782261 - Flags: review?(nical.bugzilla) → review+
Fix try server failures.
Attachment #8782261 - Attachment is obsolete: true
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/fcef2002179a Avoid calling EnsureTarget in CanvasRenderingContext2D::GetImageData. r=nical
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Blocks: 1001069
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: