Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: webkit/compositor_bindings/WebCompositorImpl.cpp

Issue 11142031: Remove WTF dependencies from webkit_compositor_bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/compositor_bindings/WebCompositorImpl.cpp
diff --git a/webkit/compositor_bindings/WebCompositorImpl.cpp b/webkit/compositor_bindings/WebCompositorImpl.cpp
index 145287c769df17f0ed393ab8622f28419a5d2b10..2b42b3815f41a6ca96e7746498eb90ebe7068553 100644
--- a/webkit/compositor_bindings/WebCompositorImpl.cpp
+++ b/webkit/compositor_bindings/WebCompositorImpl.cpp
@@ -6,18 +6,16 @@
#include "WebCompositorImpl.h"
-#include "CCLayerTreeHost.h"
-#include "CCProxy.h"
-#include "CCSettings.h"
-#include "CCThreadImpl.h"
-#include <public/Platform.h>
-#include <wtf/ThreadingPrimitives.h>
-
#ifdef LOG
#undef LOG
#endif
#include "base/message_loop_proxy.h"
+#include "cc/layer_tree_host.h"
+#include "cc/proxy.h"
+#include "cc/settings.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/Platform.h"
#include "webkit/glue/webthread_impl.h"
+#include "CCThreadImpl.h"
using namespace cc;
@@ -72,10 +70,10 @@ void WebCompositorImpl::initialize(WebThread* implThread)
ASSERT(!s_initialized);
s_initialized = true;
- s_mainThread = CCThreadImpl::createForCurrentThread().leakPtr();
+ s_mainThread = CCThreadImpl::createForCurrentThread().release();
CCProxy::setMainThread(s_mainThread);
if (implThread) {
- s_implThread = CCThreadImpl::createForDifferentThread(implThread).leakPtr();
+ s_implThread = CCThreadImpl::createForDifferentThread(implThread).release();
CCProxy::setImplThread(s_implThread);
} else
CCProxy::setImplThread(0);
« no previous file with comments | « webkit/compositor_bindings/WebCompositorImpl.h ('k') | webkit/compositor_bindings/WebCompositorInputHandlerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698