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

Unified Diff: content/child/npapi/plugin_instance.h

Issue 1142063003: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix. Created 5 years, 7 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/child/npapi/np_channel_base.cc ('k') | content/child/npapi/plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_instance.h
diff --git a/content/child/npapi/plugin_instance.h b/content/child/npapi/plugin_instance.h
index 16fe60c057cbb555f0b26add16a400b7b63c55c7..95589301c3b1904cdffffb5d86c106123a0d1d5b 100644
--- a/content/child/npapi/plugin_instance.h
+++ b/content/child/npapi/plugin_instance.h
@@ -24,7 +24,7 @@
#include "url/gurl.h"
namespace base {
-class MessageLoop;
+class SingleThreadTaskRunner;
}
namespace content {
@@ -305,7 +305,7 @@ class PluginInstance : public base::RefCountedThreadSafe<PluginInstance> {
gfx::Rect containing_window_frame_;
NPCocoaEvent* currently_handled_event_; // weak
#endif
- base::MessageLoop* message_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
scoped_refptr<PluginStreamUrl> plugin_data_stream_;
// This flag if true indicates that the plugin data would be passed from
« no previous file with comments | « content/child/npapi/np_channel_base.cc ('k') | content/child/npapi/plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698