summaryrefslogtreecommitdiffstats
path: root/cc/CCThread.h
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-10 22:04:21 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-10 22:04:21 +0000
commitdedbe4068e61e476f7dc42f0921dba360329b3e8 (patch)
tree59f333e3ba8a54f324caae5d236e1bb679cc6ee1 /cc/CCThread.h
parentefa810b842c84c52825e6446ba2608ffa4e2450a (diff)
downloadchromium_src-dedbe4068e61e476f7dc42f0921dba360329b3e8.zip
chromium_src-dedbe4068e61e476f7dc42f0921dba360329b3e8.tar.gz
chromium_src-dedbe4068e61e476f7dc42f0921dba360329b3e8.tar.bz2
Avoid using WTF threading code in cc
This stuff isn't available in the component build since we only initialize WTF threading inside WebKit.dll and cc isn't in WebKit.dll BUG= Review URL: https://chromiumcodereview.appspot.com/10913158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/CCThread.h')
-rw-r--r--cc/CCThread.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/CCThread.h b/cc/CCThread.h
index d375932..a20d5e0 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;
};
}