Title: [116270] trunk/Source/WebKit/chromium
- Revision
- 116270
- Author
- [email protected]
- Date
- 2012-05-06 21:41:50 -0700 (Sun, 06 May 2012)
Log Message
[Chromium] Call currentThread through Platform.h directly
https://bugs.webkit.org/show_bug.cgi?id=85769
Reviewed by Kentaro Hara.
Part of a refactoring series. See tracking bug 82948.
* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTest::onEndTest):
(WTF::CCLayerTreeHostTest::runTest):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (116269 => 116270)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-05-07 04:39:31 UTC (rev 116269)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-05-07 04:41:50 UTC (rev 116270)
@@ -1,5 +1,18 @@
2012-05-06 Mark Pilgrim <[email protected]>
+ [Chromium] Call currentThread through Platform.h directly
+ https://bugs.webkit.org/show_bug.cgi?id=85769
+
+ Reviewed by Kentaro Hara.
+
+ Part of a refactoring series. See tracking bug 82948.
+
+ * tests/CCLayerTreeHostTest.cpp:
+ (WTF::CCLayerTreeHostTest::onEndTest):
+ (WTF::CCLayerTreeHostTest::runTest):
+
+2012-05-06 Mark Pilgrim <[email protected]>
+
[Chromium] Call cryptographicallyRandomValues through Platform.h
https://bugs.webkit.org/show_bug.cgi?id=85763
Modified: trunk/Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp (116269 => 116270)
--- trunk/Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp 2012-05-07 04:39:31 UTC (rev 116269)
+++ trunk/Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp 2012-05-07 04:41:50 UTC (rev 116270)
@@ -45,10 +45,10 @@
#include "cc/CCScopedThreadProxy.h"
#include "cc/CCTextureUpdater.h"
#include "cc/CCThreadTask.h"
-#include "platform/WebKitPlatformSupport.h"
#include "platform/WebThread.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
+#include <public/Platform.h>
#include <wtf/MainThread.h>
#include <wtf/PassRefPtr.h>
#include <wtf/Vector.h>
@@ -364,7 +364,7 @@
static void onEndTest(void* self)
{
ASSERT(isMainThread());
- webKitPlatformSupport()->currentThread()->exitRunLoop();
+ WebKit::Platform::current()->currentThread()->exitRunLoop();
}
static void dispatchSetNeedsAnimate(void* self)
@@ -506,10 +506,10 @@
m_mainThreadProxy = CCScopedThreadProxy::create(CCProxy::mainThread());
m_beginTask = new BeginTask(this);
- webKitPlatformSupport()->currentThread()->postDelayedTask(m_beginTask, 0); // postDelayedTask takes ownership of the task
+ WebKit::Platform::current()->currentThread()->postDelayedTask(m_beginTask, 0); // postDelayedTask takes ownership of the task
m_timeoutTask = new TimeoutTask(this);
- webKitPlatformSupport()->currentThread()->postDelayedTask(m_timeoutTask, 5000);
- webKitPlatformSupport()->currentThread()->enterRunLoop();
+ WebKit::Platform::current()->currentThread()->postDelayedTask(m_timeoutTask, 5000);
+ WebKit::Platform::current()->currentThread()->enterRunLoop();
if (m_layerTreeHost && m_layerTreeHost->rootLayer())
m_layerTreeHost->rootLayer()->setLayerTreeHost(0);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes