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

Unified Diff: cc/test/fake_picture_layer_impl.h

Issue 2175553002: Raster PictureLayerTiling with fractional translation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: combined Created 3 years, 9 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/raster/zero_copy_raster_buffer_provider.cc ('k') | cc/test/fake_picture_layer_tiling_client.cc » ('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..3b4524fd027cde49f6854928a70a17e4636b59e1 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(ScaleTranslate2d(scale, gfx::Vector2dF())));
}
float raster_page_scale() const { return raster_page_scale_; }
« no previous file with comments | « cc/raster/zero_copy_raster_buffer_provider.cc ('k') | cc/test/fake_picture_layer_tiling_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698