[Webkit-unassigned] [Bug 86483] LayerAnimation is not thread safe, which makes dereferencing an expensive operation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 12 15:34:49 PDT 2012


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





--- Comment #9 from Arvid Nilsson <anilsson at rim.com>  2012-08-12 15:35:17 PST ---
Ping, for CSS filters we got away with something like this:

 #include <wtf/RefCounted.h>
 #include <wtf/text/WTFString.h>

+#if PLATFORM(BLACKBERRY)
+#include <wtf/ThreadSafeRefCounted.h>
+#endif
+
 // Annoyingly, wingdi.h #defines this.
 #ifdef PASSTHROUGH
 #undef PASSTHROUGH
@@ -44,7 +48,11 @@ namespace WebCore {

 // CSS Filters

+#if PLATFORM(BLACKBERRY)
+class FilterOperation : public ThreadSafeRefCounted<FilterOperation> {
+#else
 class FilterOperation : public RefCounted<FilterOperation> {
+#endif
 public:

Maybe Ed can do the same in this instance?

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

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