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

Unified Diff: cc/layers/layer.h

Issue 226283004: Rasterize at maximum scale for scale animations on CPU-rasterized layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename maximum_animation_scale_factor to maximum_animation_contents_scale Created 6 years, 8 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
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index ed66e7b46c8e85ed775469ceea3ddf979d27ee44..b4916fc0bf7dd480ed67181ffd1224409a8174fb 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -383,6 +383,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
virtual void CalculateContentsScale(float ideal_contents_scale,
float device_scale_factor,
float page_scale_factor,
+ float maximum_animation_contents_scale,
bool animating_transform_to_screen,
float* contents_scale_x,
float* contents_scale_y,

Powered by Google App Engine
This is Rietveld 408576698