Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(950)

Unified Diff: cc/test/fake_picture_layer_impl.h

Issue 2565643002: [5/5] Add translated rasterization for PictureLayerImpl (Closed)
Patch Set: forgot to update cc_perftests too Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/tiles/picture_layer_tiling_set.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer_impl.h
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h
index c93900a068c1be4160c104636dd39887145bec82..a6ae4ba4a9dfea307e32a36a709a5ca87355a20d 100644
--- a/cc/test/fake_picture_layer_impl.h
+++ b/cc/test/fake_picture_layer_impl.h
@@ -114,7 +114,8 @@ class FakePictureLayerImpl : public PictureLayerImpl {
using PictureLayerImpl::MaximumTilingContentsScale;
void AddTilingUntilNextDraw(float scale) {
- last_append_quads_tilings_.push_back(AddTiling(scale));
+ last_append_quads_tilings_.push_back(
+ AddTiling(gfx::AxisTransform2d(scale, gfx::Vector2dF())));
}
float raster_page_scale() const { return raster_page_scale_; }
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/tiles/picture_layer_tiling_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698