Title: [115632] trunk/Source/WebKit/chromium
Revision
115632
Author
[email protected]
Date
2012-04-30 07:48:58 -0700 (Mon, 30 Apr 2012)

Log Message

[Chromium] Use new syntax to call currentThread directly
https://bugs.webkit.org/show_bug.cgi?id=85185

Reviewed by Kentaro Hara.

Part of a refactoring series. See tracking bug 82948.

* src/CCThreadImpl.cpp:
(WebKit::CCThreadImpl::CCThreadImpl):
* src/WebCompositorImpl.cpp:
(WebKit::WebCompositorImpl::initialize):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (115631 => 115632)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-04-30 14:43:51 UTC (rev 115631)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-04-30 14:48:58 UTC (rev 115632)
@@ -1,5 +1,19 @@
 2012-04-30  Mark Pilgrim  <[email protected]>
 
+        [Chromium] Use new syntax to call currentThread directly
+        https://bugs.webkit.org/show_bug.cgi?id=85185
+
+        Reviewed by Kentaro Hara.
+
+        Part of a refactoring series. See tracking bug 82948.
+        
+        * src/CCThreadImpl.cpp:
+        (WebKit::CCThreadImpl::CCThreadImpl):
+        * src/WebCompositorImpl.cpp:
+        (WebKit::WebCompositorImpl::initialize):
+
+2012-04-30  Mark Pilgrim  <[email protected]>
+
         [Chromium] Use new syntax to call createThread directly
         https://bugs.webkit.org/show_bug.cgi?id=85186
 

Modified: trunk/Source/WebKit/chromium/src/CCThreadImpl.cpp (115631 => 115632)


--- trunk/Source/WebKit/chromium/src/CCThreadImpl.cpp	2012-04-30 14:43:51 UTC (rev 115631)
+++ trunk/Source/WebKit/chromium/src/CCThreadImpl.cpp	2012-04-30 14:48:58 UTC (rev 115632)
@@ -103,7 +103,7 @@
 CCThreadImpl::CCThreadImpl(WebThread* thread)
     : m_thread(thread)
 {
-    if (thread == webKitPlatformSupport()->currentThread()) {
+    if (thread == WebKit::Platform::current()->currentThread()) {
         m_threadID = currentThread();
         return;
     }

Modified: trunk/Source/WebKit/chromium/src/WebCompositorImpl.cpp (115631 => 115632)


--- trunk/Source/WebKit/chromium/src/WebCompositorImpl.cpp	2012-04-30 14:43:51 UTC (rev 115631)
+++ trunk/Source/WebKit/chromium/src/WebCompositorImpl.cpp	2012-04-30 14:48:58 UTC (rev 115632)
@@ -58,7 +58,7 @@
     ASSERT(!s_initialized);
     s_initialized = true;
 
-    s_mainThread = CCThreadImpl::create(webKitPlatformSupport()->currentThread()).leakPtr();
+    s_mainThread = CCThreadImpl::create(WebKit::Platform::current()->currentThread()).leakPtr();
     CCProxy::setMainThread(s_mainThread);
     if (implThread) {
         s_implThread = CCThreadImpl::create(implThread).leakPtr();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to