summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorscottbyer@chromium.org <scottbyer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 22:28:51 +0000
committerscottbyer@chromium.org <scottbyer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 22:28:51 +0000
commit9dc4794d2759fde611f89b6e808a104fe490d7ef (patch)
treed322b2fcc5843b3f1fcfaeebad4fa974dafc49e6 /webkit
parent3896409bc0f727bd5c41cd3fe7760023757cfd7e (diff)
downloadchromium_src-9dc4794d2759fde611f89b6e808a104fe490d7ef.zip
chromium_src-9dc4794d2759fde611f89b6e808a104fe490d7ef.tar.gz
chromium_src-9dc4794d2759fde611f89b6e808a104fe490d7ef.tar.bz2
Revert 146670 - Fix unit test to allow repeated successful runs by avoiding a function static variable in tests.
BUG=137145 TEST=run unit_tests with --gtest_filter=ComponentInstallerTest.PepperFlashCheck --gtest_repeat=2 successfully. Review URL: https://chromiumcodereview.appspot.com/10702188 TBR=scottbyer@chromium.org Revert reason: checkdeps fail (passed trybots?) Review URL: https://chromiumcodereview.appspot.com/10788005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146672 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/plugins/ppapi/plugin_module.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc
index 8d6410e..0efcbf7 100644
--- a/webkit/plugins/ppapi/plugin_module.cc
+++ b/webkit/plugins/ppapi/plugin_module.cc
@@ -426,6 +426,8 @@ PluginModule::PluginModule(const std::string& name,
memset(&entry_points_, 0, sizeof(entry_points_));
pp_module_ = HostGlobals::Get()->AddModule(this);
+ // Initialize the main thread message loop.
+ PpapiGlobals::Get()->GetMainThreadMessageLoop();
GetLivePluginSet()->insert(this);
}