Index: trunk/src/content/ppapi_plugin/ppapi_thread.cc |
=================================================================== |
--- trunk/src/content/ppapi_plugin/ppapi_thread.cc (revision 189681) |
+++ trunk/src/content/ppapi_plugin/ppapi_thread.cc (working copy) |
@@ -93,6 +93,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()); |