Index: content/ppapi_plugin/ppapi_thread.cc |
=================================================================== |
--- content/ppapi_plugin/ppapi_thread.cc (revision 187345) |
+++ content/ppapi_plugin/ppapi_thread.cc (working copy) |
@@ -91,6 +91,8 @@ |
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()); |