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

Unified Diff: webkit/compositor_bindings/CCThreadImpl.h

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
« no previous file with comments | « no previous file | webkit/compositor_bindings/CCThreadImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/CCThreadImpl.h
diff --git a/webkit/compositor_bindings/CCThreadImpl.h b/webkit/compositor_bindings/CCThreadImpl.h
index b45acb3fa28fed8bdd9a8dd1d7203a8b55788f7b..bd598a94ebad087e9e3e9f7cb74f1af20e80c8a2 100644
--- a/webkit/compositor_bindings/CCThreadImpl.h
+++ b/webkit/compositor_bindings/CCThreadImpl.h
@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "CCThread.h"
+#include "base/memory/scoped_ptr.h"
#include "base/threading/platform_thread.h"
+#include "cc/thread.h"
#include <wtf/OwnPtr.h>
-#include <wtf/Threading.h>
+#include <wtf/PassOwnPtr.h>
#ifndef CCThreadImpl_h
#define CCThreadImpl_h
@@ -18,10 +19,10 @@ class WebThread;
class CCThreadImpl : public cc::CCThread {
public:
// Creates a CCThreadImpl wrapping the current thread.
- static PassOwnPtr<cc::CCThread> createForCurrentThread();
+ static scoped_ptr<cc::CCThread> createForCurrentThread();
// Creates a CCThread wrapping a non-current WebThread.
- static PassOwnPtr<cc::CCThread> createForDifferentThread(WebThread*);
+ static scoped_ptr<cc::CCThread> createForDifferentThread(WebThread*);
virtual ~CCThreadImpl();
virtual void postTask(PassOwnPtr<cc::CCThread::Task>);
« no previous file with comments | « no previous file | webkit/compositor_bindings/CCThreadImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698