summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_layer_tiling_client.h
diff options
context:
space:
mode:
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-10 02:08:12 +0000
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-10 02:08:12 +0000
commitcde2f182a1556fe98ac5105cf056ca784ad35ce0 (patch)
treea08a9ac66e7e6c48b9d37319d6c3e6f6a5e43bbf /cc/test/fake_picture_layer_tiling_client.h
parentfdc687caf213ca175247452234da8a20f08cf4dc (diff)
downloadchromium_src-cde2f182a1556fe98ac5105cf056ca784ad35ce0.zip
chromium_src-cde2f182a1556fe98ac5105cf056ca784ad35ce0.tar.gz
chromium_src-cde2f182a1556fe98ac5105cf056ca784ad35ce0.tar.bz2
cc: Remove tile ref counting in tile manager.
Instead of increasing a ref count on a tile when passing a task into raster worker pool, use a unique id and a hash map. This allows tiles to be deleted even when raster task is working on rasterizing a resource. BUG=256777 Review URL: https://chromiumcodereview.appspot.com/18581004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210713 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/test/fake_picture_layer_tiling_client.h b/cc/test/fake_picture_layer_tiling_client.h
index d6aaeed..cacfd66 100644
--- a/cc/test/fake_picture_layer_tiling_client.h
+++ b/cc/test/fake_picture_layer_tiling_client.h
@@ -22,7 +22,6 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient {
// PictureLayerTilingClient implementation.
virtual scoped_refptr<Tile> CreateTile(
PictureLayerTiling* tiling, gfx::Rect rect) OVERRIDE;
- virtual void DestroyTile(Tile* tile) OVERRIDE {}
virtual void UpdatePile(Tile* tile) OVERRIDE {}
virtual gfx::Size CalculateTileSize(
gfx::Size content_bounds) const OVERRIDE;