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

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

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/effect_node.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_common_unittest.cc
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc
index 445f259cad1aca9aa578836b19c0eb2931408ebd..a5bfd83427141f109f49c8820ce7fe7020bc6240 100644
--- a/cc/trees/layer_tree_host_common_unittest.cc
+++ b/cc/trees/layer_tree_host_common_unittest.cc
@@ -10070,13 +10070,13 @@ TEST_F(LayerTreeHostCommonTest,
TransformTree& tree =
root->layer_tree_impl()->property_trees()->transform_tree;
TransformNode* node = tree.Node(render_surface1->transform_tree_index());
- EXPECT_EQ(node->sublayer_scale, gfx::Vector2dF(2.f, 2.f));
+ EXPECT_EQ(node->surface_contents_scale, gfx::Vector2dF(2.f, 2.f));
node = tree.Node(between_targets->transform_tree_index());
- EXPECT_EQ(node->sublayer_scale, gfx::Vector2dF(1.f, 1.f));
+ EXPECT_EQ(node->surface_contents_scale, gfx::Vector2dF(1.f, 1.f));
node = tree.Node(render_surface2->transform_tree_index());
- EXPECT_EQ(node->sublayer_scale, gfx::Vector2dF(2.f, 2.f));
+ EXPECT_EQ(node->surface_contents_scale, gfx::Vector2dF(2.f, 2.f));
EXPECT_EQ(gfx::Rect(15, 15), test_layer->visible_layer_rect());
}
« no previous file with comments | « cc/trees/effect_node.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698