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

Unified Diff: cc/CCThread.h

Issue 10913158: Avoid using WTF threading code in cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « cc/CCScopedThreadProxy.h ('k') | cc/test/CCSchedulerTestCommon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCThread.h
diff --git a/cc/CCThread.h b/cc/CCThread.h
index d375932cd42dbc5de072cb314bdefab576a2a1d6..a20d5e0c85bfb97da29180351777aa7b20873584 100644
--- a/cc/CCThread.h
+++ b/cc/CCThread.h
@@ -5,8 +5,9 @@
#ifndef CCThread_h
#define CCThread_h
+#include "base/threading/platform_thread.h"
#include <wtf/PassOwnPtr.h>
-#include <wtf/Threading.h>
+#include <wtf/Noncopyable.h>
namespace WebCore {
@@ -33,7 +34,7 @@ public:
// Executes the task after the specified delay.
virtual void postDelayedTask(PassOwnPtr<Task>, long long delayMs) = 0;
- virtual WTF::ThreadIdentifier threadID() const = 0;
+ virtual base::PlatformThreadId threadID() const = 0;
};
}
« no previous file with comments | « cc/CCScopedThreadProxy.h ('k') | cc/test/CCSchedulerTestCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698