Commit a71c165a authored by ajwong@chromium.org's avatar ajwong@chromium.org

Revert "Add hook into pepper to query if running on the main thread."

This reverts commit r57233

TBR: brettw

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57235 0039d316-1c4b-4281-b951-d872f2087c98
parent da938d9b
...@@ -163,7 +163,7 @@ deps = { ...@@ -163,7 +163,7 @@ deps = {
Var("libvpx_revision"), Var("libvpx_revision"),
"src/third_party/ppapi": "src/third_party/ppapi":
"http://ppapi.googlecode.com/svn/trunk@209", "http://ppapi.googlecode.com/svn/trunk@207",
"src/third_party/libjingle/source": "src/third_party/libjingle/source":
"http://libjingle.googlecode.com/svn/branches/nextsnap@" + "http://libjingle.googlecode.com/svn/branches/nextsnap@" +
......
...@@ -120,18 +120,13 @@ void CallOnMainThread(int delay_in_msec, ...@@ -120,18 +120,13 @@ void CallOnMainThread(int delay_in_msec,
delay_in_msec); delay_in_msec);
} }
bool IsMainThread() {
return GetMainThreadMessageLoop()->BelongsToCurrentThread();
}
const PPB_Core core_interface = { const PPB_Core core_interface = {
&AddRefResource, &AddRefResource,
&ReleaseResource, &ReleaseResource,
&MemAlloc, &MemAlloc,
&MemFree, &MemFree,
&GetTime, &GetTime,
&CallOnMainThread, &CallOnMainThread
&IsMainThread
}; };
// PPB_Testing ----------------------------------------------------------------- // PPB_Testing -----------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment