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

Unified Diff: cc/test/layer_tree_json_parser_unittest.cc

Issue 2254543004: cc : Delete LayerImpl::transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use test properties transform Created 4 years, 4 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/layers/render_surface_impl_unittest.cc ('k') | cc/trees/damage_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_json_parser_unittest.cc
diff --git a/cc/test/layer_tree_json_parser_unittest.cc b/cc/test/layer_tree_json_parser_unittest.cc
index eb7cfeb6055c99b16ddcce06fe991d5c73a49b32..250992ee54c60d95d49aaf643eb2cd87a5a0879b 100644
--- a/cc/test/layer_tree_json_parser_unittest.cc
+++ b/cc/test/layer_tree_json_parser_unittest.cc
@@ -35,7 +35,7 @@ bool LayerTreesMatch(LayerImpl* const layer_impl,
RETURN_IF_EXPECTATION_FAILS(
EXPECT_EQ(layer_impl->position(), layer->position()));
RETURN_IF_EXPECTATION_FAILS(EXPECT_TRANSFORMATION_MATRIX_EQ(
- layer_impl->transform(), layer->transform()));
+ layer_impl->test_properties()->transform, layer->transform()));
RETURN_IF_EXPECTATION_FAILS(EXPECT_EQ(layer_impl->contents_opaque(),
layer->contents_opaque()));
RETURN_IF_EXPECTATION_FAILS(EXPECT_EQ(layer_impl->scrollable(),
@@ -79,7 +79,7 @@ TEST_F(LayerTreeJsonParserSanityCheck, Basic) {
gfx::Transform translate;
translate.Translate(10, 15);
- child->SetTransform(translate);
+ child->test_properties()->transform = translate;
parent->SetPosition(gfx::PointF(25.f, 25.f));
« no previous file with comments | « cc/layers/render_surface_impl_unittest.cc ('k') | cc/trees/damage_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698