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

Unified Diff: cc/test/fake_picture_layer_impl.h

Issue 2565643002: [5/5] Add translated rasterization for PictureLayerImpl (Closed)
Patch Set: Created 4 years 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
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 f0bf7622c75516e085f56a296db0dd6275d0d179..610d266c46c671b81e9aba3da6b2f1071f8b8bed 100644
--- a/cc/test/fake_picture_layer_impl.h
+++ b/cc/test/fake_picture_layer_impl.h
@@ -97,7 +97,7 @@ 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(ScaleTranslate2d(scale, gfx::Vector2dF())));
}
float raster_page_scale() const { return raster_page_scale_; }

Powered by Google App Engine
This is Rietveld 408576698