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

Unified Diff: ppapi/nacl_irt/plugin_main.cc

Issue 1174543002: ppapi: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix V8VarConverterTest. Created 5 years, 6 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 | « ppapi/nacl_irt/manifest_service.cc ('k') | ppapi/nacl_irt/plugin_startup.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 eb4f300c231f32816e7615dc734fd05857c00aab..8cd491ec68bc2d155163e05f52e397ab108a549d 100644
--- a/ppapi/nacl_irt/plugin_main.cc
+++ b/ppapi/nacl_irt/plugin_main.cc
@@ -10,7 +10,6 @@
// IPC_MESSAGE_MACROS_LOG_ENABLED so ppapi_messages.h will generate the
// ViewMsgLog et al. functions.
-#include "base/message_loop/message_loop.h"
#include "base/threading/thread.h"
#include "ipc/ipc_logging.h"
#include "ppapi/nacl_irt/plugin_startup.h"
@@ -28,12 +27,10 @@ void PpapiPluginRegisterThreadCreator(
int PpapiPluginMain() {
base::MessageLoop loop;
ppapi::proxy::PluginGlobals plugin_globals(
- scoped_refptr<base::TaskRunner>(
- ppapi::GetIOThread()->message_loop_proxy()));
+ scoped_refptr<base::TaskRunner>(ppapi::GetIOThread()->task_runner()));
ppapi::PpapiDispatcher ppapi_dispatcher(
- ppapi::GetIOThread()->message_loop_proxy(),
- ppapi::GetShutdownEvent(),
+ ppapi::GetIOThread()->task_runner(), ppapi::GetShutdownEvent(),
ppapi::GetBrowserIPCFileDescriptor(),
ppapi::GetRendererIPCFileDescriptor());
plugin_globals.SetPluginProxyDelegate(&ppapi_dispatcher);
« no previous file with comments | « ppapi/nacl_irt/manifest_service.cc ('k') | ppapi/nacl_irt/plugin_startup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698