Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: ppapi/nacl_irt/plugin_main.cc

Issue 869883003: Never lock the Pepper proxy lock on the IO thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix size_t vs int32_t Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | ppapi/nacl_irt/ppapi_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/nacl_irt/plugin_main.cc
diff --git a/ppapi/nacl_irt/plugin_main.cc b/ppapi/nacl_irt/plugin_main.cc
index 38ce9b68d0cc57e605af30997e527b9fef785747..eb4f300c231f32816e7615dc734fd05857c00aab 100644
--- a/ppapi/nacl_irt/plugin_main.cc
+++ b/ppapi/nacl_irt/plugin_main.cc
@@ -27,7 +27,9 @@ void PpapiPluginRegisterThreadCreator(
int PpapiPluginMain() {
base::MessageLoop loop;
- ppapi::proxy::PluginGlobals plugin_globals;
+ ppapi::proxy::PluginGlobals plugin_globals(
+ scoped_refptr<base::TaskRunner>(
+ ppapi::GetIOThread()->message_loop_proxy()));
ppapi::PpapiDispatcher ppapi_dispatcher(
ppapi::GetIOThread()->message_loop_proxy(),
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | ppapi/nacl_irt/ppapi_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698