diff options
author | vmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-20 19:20:45 +0000 |
---|---|---|
committer | vmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-20 19:20:45 +0000 |
commit | 762190afe1ba4257d3f5b39fd24b4e43f5ba9f3e (patch) | |
tree | 36cad72a82da0041b6fdf94d46ce6a781a3214d2 /cc/test/fake_picture_layer_tiling_client.h | |
parent | c29df3e9feb8309d1b12a133c66a49b416f167f1 (diff) | |
download | chromium_src-762190afe1ba4257d3f5b39fd24b4e43f5ba9f3e.zip chromium_src-762190afe1ba4257d3f5b39fd24b4e43f5ba9f3e.tar.gz chromium_src-762190afe1ba4257d3f5b39fd24b4e43f5ba9f3e.tar.bz2 |
cc: Decouple tile manager from raster worker pool
In order to unittest tile manager, it would be nice if we
can fake raster worker pool (and possibly other components)
that tile manager currently creates in its constructor.
This should be a small step towards making tile manager more
testable.
Review URL: https://chromiumcodereview.appspot.com/14803016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201118 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_picture_layer_tiling_client.h')
-rw-r--r-- | cc/test/fake_picture_layer_tiling_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/fake_picture_layer_tiling_client.h b/cc/test/fake_picture_layer_tiling_client.h index 32a39bf..1050705 100644 --- a/cc/test/fake_picture_layer_tiling_client.h +++ b/cc/test/fake_picture_layer_tiling_client.h @@ -44,7 +44,7 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient { protected: FakeTileManagerClient tile_manager_client_; FakeRenderingStatsInstrumentation stats_instrumentation_; - TileManager tile_manager_; + scoped_ptr<TileManager> tile_manager_; scoped_refptr<PicturePileImpl> pile_; gfx::Size tile_size_; PictureLayerTiling* twin_tiling_; |