diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-29 10:23:55 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-29 10:23:55 +0000 |
commit | f6caf151551030c83dbc635879d89d28f486d0d5 (patch) | |
tree | c3c3c460be8cafd8f74de932b4af7102d496eb3d /remoting/host/plugin/host_script_object.h | |
parent | 945d760ecb2aea40a9591447ffa42f3c9cadf84b (diff) | |
download | chromium_src-f6caf151551030c83dbc635879d89d28f486d0d5.zip chromium_src-f6caf151551030c83dbc635879d89d28f486d0d5.tar.gz chromium_src-f6caf151551030c83dbc635879d89d28f486d0d5.tar.bz2 |
Revert 170150 - Use AutoThread in ChromotingHostContext & NPAPI plugin.
This has caused leak and data race reports on the MFYI waterfall,
i.e. still needs work.
BUG=163320
Callers now create ChromotingHostContext to create a set of threads
for host tasks to run on, and pass the threads' TaskRunners to each
host component explicitly. The ChromotingHostContext can then be
torn down as soon as the caller no longer needs to create new
components using the threads, and the threads themselves will exit
only when the created components no longer require them.
BUG=145856
Review URL: https://chromiumcodereview.appspot.com/11094056
TBR=wez@chromium.org
Review URL: https://codereview.chromium.org/11316242
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170156 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/plugin/host_script_object.h')
-rw-r--r-- | remoting/host/plugin/host_script_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/plugin/host_script_object.h b/remoting/host/plugin/host_script_object.h index 22baee5..5cc7a6d 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(). - scoped_refptr<AutoThreadTaskRunner> worker_thread_; + base::Thread worker_thread_; ////////////////////////////////////////////////////////// // Plugin state used for both Ir2Me and Me2Me. |