summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 01:15:54 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 01:15:54 +0000
commitac1d20a0ba81deccca895406f85fa4af71657647 (patch)
tree33e0e6c35864200c051d5113431fe97aa9865f33 /cc/test
parent4c7a383b1649e488e024ea02cd31f8b3b0a24bd2 (diff)
downloadchromium_src-ac1d20a0ba81deccca895406f85fa4af71657647.zip
chromium_src-ac1d20a0ba81deccca895406f85fa4af71657647.tar.gz
chromium_src-ac1d20a0ba81deccca895406f85fa4af71657647.tar.bz2
cc: Apply contents scales to impl-side painting rasterization
Tiles now have a contents scale that they are rastered with, so that non-1.0 contents scales work. Additionally, PictureLayer derives from ContentsScalingLayer so that it picks up the right content bounds and default contents scale. BUG=155209 Review URL: https://chromiumcodereview.appspot.com/11421210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test')
-rw-r--r--cc/test/fake_picture_layer_tiling_client.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc
index ca6e4b2..c86abb0 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -21,7 +21,8 @@ scoped_refptr<Tile> FakePictureLayerTilingClient::CreateTile(
pile_.get(),
tile_size_,
GL_RGBA,
- rect));
+ rect,
+ 1));
}
void FakePictureLayerTilingClient::SetTileSize(gfx::Size tile_size) {