[Webkit-unassigned] [Bug 115407] REGRESION(r149338): WebKitTestRunner crashing on Qt WK2, EFL WK2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 30 01:58:30 PDT 2013


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





--- Comment #2 from Byungwoo Lee <bw80.lee at samsung.com>  2013-04-30 01:56:51 PST ---
checking isSet() seems incorrect.

 RunLoop* RunLoop::current()
 {
-    DEFINE_STATIC_LOCAL(WTF::ThreadSpecific<RefPtr<RunLoop> >, runLoopData, ());
-    return runLoopData->get();
+    DEFINE_STATIC_LOCAL(WTF::ThreadSpecific<RefPtr<RunLoop> >, runLoopRefPtrData, ());
+    DEFINE_STATIC_LOCAL(WTF::ThreadSpecific<RunLoop>, runLoopData, ());
+    if (!runLoopRefPtrData->get())
+        *runLoopRefPtrData = adoptRef((RunLoop*)runLoopData);
+    return runLoopRefPtrData->get();
 }

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