[webkit-reviews] review requested: [Bug 80871] Reuse buffer allocation if canvas size does not change : [Attachment 133065] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 21 10:08:59 PDT 2012
Sami Kyostila <skyostil at google.com> has asked for review:
Bug 80871: Reuse buffer allocation if canvas size does not change
https://bugs.webkit.org/show_bug.cgi?id=80871
Attachment 133065: Patch
https://bugs.webkit.org/attachment.cgi?id=133065&action=review
------- Additional Comments from Sami Kyostila <skyostil at google.com>
Fixed debug mode layout test crashes by moving the graphics context state
restoration to HTMLCanvasElement, because it owns the ImageBuffer and by
extension the GraphicsContext. The state is saved and restored using a
GraphicsContextStateSaver whose lifetime matches that of the ImageBuffer.
More information about the webkit-reviews
mailing list