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

Unified Diff: cc/trees/transform_node.h

Issue 2148383005: cc: Use sublayer scale from effect tree (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 5 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/trees/property_tree_unittest.cc ('k') | cc/trees/transform_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/transform_node.h
diff --git a/cc/trees/transform_node.h b/cc/trees/transform_node.h
index b128d4dd7075e63841dee422b887ae1e44e3d716..7893be2e4e0d871c501e37e5e539c7c96d0f91c4 100644
--- a/cc/trees/transform_node.h
+++ b/cc/trees/transform_node.h
@@ -90,7 +90,7 @@ struct CC_EXPORT TransformNode {
bool scrolls : 1;
- bool needs_sublayer_scale : 1;
+ bool needs_surface_contents_scale : 1;
// These are used to position nodes wrt the right or bottom of the inner or
// outer viewport.
@@ -111,7 +111,7 @@ struct CC_EXPORT TransformNode {
// TODO(vollick): will be moved when accelerated effects are implemented.
float post_local_scale_factor;
- gfx::Vector2dF sublayer_scale;
+ gfx::Vector2dF surface_contents_scale;
// TODO(vollick): will be moved when accelerated effects are implemented.
gfx::ScrollOffset scroll_offset;
« no previous file with comments | « cc/trees/property_tree_unittest.cc ('k') | cc/trees/transform_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698