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

Unified Diff: remoting/host/plugin/host_script_object.h

Issue 11412305: Use AutoThread in ChromotingHostContext & NPAPI plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ChromotingHostContext startup-check and thread checks in getters. Created 8 years 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: remoting/host/plugin/host_script_object.h
diff --git a/remoting/host/plugin/host_script_object.h b/remoting/host/plugin/host_script_object.h
index 5cc7a6d3e30c0b7eed34e9a8afd9bd0919894df5..22baee503f46d6db1ac9f90b9f91d133609726da 100644
--- a/remoting/host/plugin/host_script_object.h
+++ b/remoting/host/plugin/host_script_object.h
@@ -287,7 +287,7 @@ class HostNPScriptObject {
// TODO(sergeyu): Replace this thread with
// SequencedWorkerPool. Problem is that SequencedWorkerPool relies
// on MessageLoopProxy::current().
- base::Thread worker_thread_;
+ scoped_refptr<AutoThreadTaskRunner> worker_thread_;
//////////////////////////////////////////////////////////
// Plugin state used for both Ir2Me and Me2Me.

Powered by Google App Engine
This is Rietveld 408576698