summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 21:20:38 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-24 21:20:38 +0000
commita71c165a413a8a9fca448c03bf07296304f99bec (patch)
treefe4e971153b079e4218fb07261f8b878ca0f964b /webkit
parentda938d9b69a22f1b9493a1c83751267f6676d0bc (diff)
downloadchromium_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.cc7
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 -----------------------------------------------------------------