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

Unified Diff: cc/resources/skpicture_content_layer_updater.h

Issue 567743003: Fix bad scaling in TiledLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk Created 6 years, 3 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/resources/layer_updater.h ('k') | cc/resources/skpicture_content_layer_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/skpicture_content_layer_updater.h
diff --git a/cc/resources/skpicture_content_layer_updater.h b/cc/resources/skpicture_content_layer_updater.h
index af8e71c2be3ebcec958653ebffebcd200e0f2345..9c79c745a9ce77d2afc0011d5e3c7a1959b4d9e7 100644
--- a/cc/resources/skpicture_content_layer_updater.h
+++ b/cc/resources/skpicture_content_layer_updater.h
@@ -25,7 +25,8 @@ class SkPictureContentLayerUpdater : public ContentLayerUpdater {
int layer_id);
virtual ~SkPictureContentLayerUpdater();
- virtual void PrepareToUpdate(const gfx::Rect& content_rect,
+ virtual void PrepareToUpdate(const gfx::Size& content_size,
+ const gfx::Rect& paint_rect,
const gfx::Size& tile_size,
float contents_width_scale,
float contents_height_scale) OVERRIDE;
« no previous file with comments | « cc/resources/layer_updater.h ('k') | cc/resources/skpicture_content_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698