diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 01:33:59 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-05 01:33:59 +0000 |
commit | 98805e6990c30ba99eebf9b1da1c382a1b21cfbd (patch) | |
tree | 5eece1c1e4476afea54ebc516c250397901916ec /cc/resources/image_raster_worker_pool.h | |
parent | a39e376072dc0285376c3ba007e1afff343a8d8e (diff) | |
download | chromium_src-98805e6990c30ba99eebf9b1da1c382a1b21cfbd.zip chromium_src-98805e6990c30ba99eebf9b1da1c382a1b21cfbd.tar.gz chromium_src-98805e6990c30ba99eebf9b1da1c382a1b21cfbd.tar.bz2 |
cc: Use explicit SequencedTaskRunner current loop in TileManager
Remove MessageLoopProxy::current calls from different RasterWorker
classes. Instead pass down the impl SequencedTaskRunner from
LayerTreeHostImpl to where its needed.
Fixed a bunch of unit tests that used to create TileManager with a
proxy with no ImplThreadTaskRunner.
BUG=348796
Review URL: https://codereview.chromium.org/186013004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254903 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/image_raster_worker_pool.h')
-rw-r--r-- | cc/resources/image_raster_worker_pool.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/resources/image_raster_worker_pool.h b/cc/resources/image_raster_worker_pool.h index aa7817b..4f28929 100644 --- a/cc/resources/image_raster_worker_pool.h +++ b/cc/resources/image_raster_worker_pool.h @@ -14,6 +14,7 @@ class CC_EXPORT ImageRasterWorkerPool : public RasterWorkerPool { virtual ~ImageRasterWorkerPool(); static scoped_ptr<RasterWorkerPool> Create( + base::SequencedTaskRunner* task_runner, ResourceProvider* resource_provider, unsigned texture_target); @@ -30,7 +31,8 @@ class CC_EXPORT ImageRasterWorkerPool : public RasterWorkerPool { const Resource* resource) OVERRIDE; protected: - ImageRasterWorkerPool(internal::TaskGraphRunner* task_graph_runner, + ImageRasterWorkerPool(base::SequencedTaskRunner* task_runner, + internal::TaskGraphRunner* task_graph_runner, ResourceProvider* resource_provider, unsigned texture_target); |