summaryrefslogtreecommitdiffstats
path: root/content/ppapi_plugin
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 20:27:16 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 20:27:16 +0000
commit41e52fb588e0ced58dc1e6d93797a0e54004be27 (patch)
tree22d45dd235be4f70f5492793f8b7fcc23ef76b21 /content/ppapi_plugin
parent69ceabd3799404eed6bda5d3f03a795b0d174931 (diff)
downloadchromium_src-41e52fb588e0ced58dc1e6d93797a0e54004be27.zip
chromium_src-41e52fb588e0ced58dc1e6d93797a0e54004be27.tar.gz
chromium_src-41e52fb588e0ced58dc1e6d93797a0e54004be27.tar.bz2
Revert 191420 "PPAPI: Remove threading options; it's always on"
> PPAPI: Remove threading options; it's always on > > This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. > > BUG=159240,92909 > > > Committed: r186925 > Reverted: r186939 due to build errors > > Committed: r187340 > > Committed: r187427 > Reverted: r187668 due to a failing check in Canary, which was fixed here: r187681 > > Committed: r189518 > Reverted: r189682, due to regression in Kraken (see crbug.com/222741) > > Review URL: https://chromiumcodereview.appspot.com/12378050 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/13328006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/ppapi_plugin')
-rw-r--r--content/ppapi_plugin/ppapi_thread.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
index 0f718af..e0bfb78 100644
--- a/content/ppapi_plugin/ppapi_thread.cc
+++ b/content/ppapi_plugin/ppapi_thread.cc
@@ -93,6 +93,8 @@ PpapiThread::PpapiThread(const CommandLine& command_line, bool is_broker)
globals->set_plugin_proxy_delegate(this);
globals->set_command_line(
command_line.GetSwitchValueASCII(switches::kPpapiFlashArgs));
+ globals->set_enable_threading(
+ !command_line.HasSwitch(switches::kDisablePepperThreading));
webkit_platform_support_.reset(new PpapiWebKitPlatformSupportImpl);
WebKit::initialize(webkit_platform_support_.get());