[Webkit-unassigned] [Bug 57717] Convert use of raw pointers to RefPtr in using Cairo

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 12 13:35:17 PDT 2011


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





--- Comment #21 from MORITA Hajime <morrita at google.com>  2011-04-12 13:35:17 PST ---
(From update of attachment 89184)
View in context: https://bugs.webkit.org/attachment.cgi?id=89184&action=review

> Source/WebCore/platform/graphics/cairo/CairoPath.h:31
> +{

This isn't thread-safe as before.
I guess what Brent said is that you can put the variable to the file static scope,
and to make linkers/loaders to call its constructor. 

In general it's good to avoid static initializers. 
But WebKit uses it many places so you don't worry about to use it ;-)

-- 
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