summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_layer_tiling_client.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 18:48:16 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 18:48:16 +0000
commit12b0490e18f5b0287c739c1c8c268235f044b5cc (patch)
tree3162280384e9939b9732ed14cfba9196f241cd38 /cc/test/fake_picture_layer_tiling_client.h
parent5222ad38b0273a1272a2e2a84121f76a3dd19031 (diff)
downloadchromium_src-12b0490e18f5b0287c739c1c8c268235f044b5cc.zip
chromium_src-12b0490e18f5b0287c739c1c8c268235f044b5cc.tar.gz
chromium_src-12b0490e18f5b0287c739c1c8c268235f044b5cc.tar.bz2
Revert 180162
> cc: Let impl-side painting use smaller tiles > > To avoid wasting memory when there are lots of small layers (e.g. mobile > gmail), allow small layers to create smaller tiles. The heuristic is > similar to TiledLayer. If a layer is smaller than the max untiled size, > then just use that content bounds as the size. If a layer has one > larger dimension larger than the max untiled size then tile that > dimension at the max untiled size and clamp the other dimension at the > content size. If a layer is neither of these, then tile using the > default tile size. > > NOTRY=true > R=danakj@chromium.org > BUG=172966 > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179764 > > Review URL: https://chromiumcodereview.appspot.com/12087068 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/12084112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180166 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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/cc/test/fake_picture_layer_tiling_client.h b/cc/test/fake_picture_layer_tiling_client.h
index 5935ae3..78603cc 100644
--- a/cc/test/fake_picture_layer_tiling_client.h
+++ b/cc/test/fake_picture_layer_tiling_client.h
@@ -23,9 +23,6 @@ class FakePictureLayerTilingClient : public PictureLayerTilingClient {
virtual scoped_refptr<Tile> CreateTile(
PictureLayerTiling* tiling, gfx::Rect rect) OVERRIDE;
virtual void UpdatePile(Tile* tile) OVERRIDE {}
- virtual gfx::Size CalculateTileSize(
- gfx::Size current_tile_size,
- gfx::Size content_bounds) OVERRIDE;
void SetTileSize(gfx::Size tile_size);
gfx::Size TileSize() const { return tile_size_; }