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

Unified Diff: ppapi/proxy/plugin_globals.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: 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
Index: ppapi/proxy/plugin_globals.cc
diff --git a/ppapi/proxy/plugin_globals.cc b/ppapi/proxy/plugin_globals.cc
index 060aa71d4827536eba314941bc1c2ea6511ccfab..8d6e9dd013f7a9fa51c64ee0a59264b681b4f185 100644
--- a/ppapi/proxy/plugin_globals.cc
+++ b/ppapi/proxy/plugin_globals.cc
@@ -4,6 +4,8 @@
#include "ppapi/proxy/plugin_globals.h"
+#include "base/location.h"
+#include "base/single_thread_task_runner.h"
#include "base/task_runner.h"
#include "base/threading/thread.h"
#include "ipc/ipc_message.h"
@@ -180,7 +182,7 @@ base::TaskRunner* PluginGlobals::GetFileTaskRunner() {
options.message_loop_type = base::MessageLoop::TYPE_IO;
file_thread_->StartWithOptions(options);
}
- return file_thread_->message_loop_proxy().get();
+ return file_thread_->task_runner().get();
}
void PluginGlobals::MarkPluginIsActive() {

Powered by Google App Engine
This is Rietveld 408576698