[Webkit-unassigned] [Bug 67906] Use of static RefPtr in FontPlatformData causes global destructor ordering problems

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 12 06:28:57 PDT 2011


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





--- Comment #5 from Marshall Greenblatt <marshall at chromium.org>  2011-09-12 06:28:58 PST ---
(In reply to comment #4)
> Created an attachment (id=107045)
 --> (https://bugs.webkit.org/attachment.cgi?id=107045&action=review) [details]
> Proposed Fix #3
> 
> Changed to use DEFINE_STATIC_LOCAL.

Note: The above patch doesn't use leakRef() in combination with DEFINE_STATIC_LOCAL. This is because DEFINE_STATIC_LOCAL is already leaking a RefPtr that is holding a reference to the object, so I don't believe it's necessary to additionally call leakRef().

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