[Webkit-unassigned] [Bug 22891] Scrolling in Windows Cairo Broken if no background color set.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 8 22:17:46 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=22891





------- Comment #21 from bfulgham at webkit.org  2009-06-08 22:17 PDT -------
(In reply to comment #20)
> Ugly (and error prone!) that we have to do this all manually:
> 177         // Delete all our junk.
>  178         cairo_surface_destroy(image);
>  179         ::DeleteDC(hdc);
>  180         ::DeleteObject(bitmap);

I think this is a necessary evil.  After searching the existing source, it
seems we don't have autopointers that support device context, bitmap, or Cairo
types.  External libraries may provide this, but I don't think there's anything
internal to WebKit that will clean this up (see the CoreGraphics version of
this file for similar structure).


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list