diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-10 22:04:21 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-10 22:04:21 +0000 |
commit | dedbe4068e61e476f7dc42f0921dba360329b3e8 (patch) | |
tree | 59f333e3ba8a54f324caae5d236e1bb679cc6ee1 /cc/CCThread.h | |
parent | efa810b842c84c52825e6446ba2608ffa4e2450a (diff) | |
download | chromium_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.h | 5 |
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; }; } |