diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-24 21:20:38 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-24 21:20:38 +0000 |
commit | a71c165a413a8a9fca448c03bf07296304f99bec (patch) | |
tree | fe4e971153b079e4218fb07261f8b878ca0f964b /webkit | |
parent | da938d9b69a22f1b9493a1c83751267f6676d0bc (diff) | |
download | chromium_src-a71c165a413a8a9fca448c03bf07296304f99bec.zip chromium_src-a71c165a413a8a9fca448c03bf07296304f99bec.tar.gz chromium_src-a71c165a413a8a9fca448c03bf07296304f99bec.tar.bz2 |
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
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/plugins/pepper_plugin_module.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_module.cc b/webkit/glue/plugins/pepper_plugin_module.cc index 6af71dc..3b44868 100644 --- a/webkit/glue/plugins/pepper_plugin_module.cc +++ b/webkit/glue/plugins/pepper_plugin_module.cc @@ -120,18 +120,13 @@ void CallOnMainThread(int delay_in_msec, delay_in_msec); } -bool IsMainThread() { - return GetMainThreadMessageLoop()->BelongsToCurrentThread(); -} - const PPB_Core core_interface = { &AddRefResource, &ReleaseResource, &MemAlloc, &MemFree, &GetTime, - &CallOnMainThread, - &IsMainThread + &CallOnMainThread }; // PPB_Testing ----------------------------------------------------------------- |