[Webkit-unassigned] [Bug 55150] [Cairo] Better separate the concerns of GraphicsContextCairo

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 8 14:14:20 PST 2011


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





--- Comment #8 from Martin Robinson <mrobinson at webkit.org>  2011-03-08 14:14:20 PST ---
(In reply to comment #7)

> There are a few options here. We can either allocate the PlatformContext on the stack like we do, or make the PlatformContext reference counted. I believe I attempted the reference counted approach at some point, but found it to be messier.

I suppose the other option would be to make the GraphicsContextPrivateWinCairo class shared between both ports and have a specialized constructor just for Cairo. I was kind of hoping to remove all Cairo-realted ifdefs from the code eventually. I'll give this a shot though. It might be fairly clean.

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



More information about the webkit-unassigned mailing list