Index: ui/compositor/layer_unittest.cc |
diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc |
index f216af3c2776faf1cb60f8e4506b0703f0983432..41c88d1474ad8ba16e42c7b39fc5b5e1b61704fe 100644 |
--- a/ui/compositor/layer_unittest.cc |
+++ b/ui/compositor/layer_unittest.cc |
@@ -674,7 +674,7 @@ TEST_F(LayerWithNullDelegateTest, SwitchLayerPreservesCCLayerState) { |
l1->SetVisible(false); |
EXPECT_EQ(gfx::PointF().ToString(), |
- l1->cc_layer()->anchor_point().ToString()); |
+ l1->cc_layer()->transform_origin().ToString()); |
EXPECT_TRUE(l1->cc_layer()->DrawsContent()); |
EXPECT_TRUE(l1->cc_layer()->contents_opaque()); |
EXPECT_TRUE(l1->cc_layer()->force_render_surface()); |
@@ -692,7 +692,7 @@ TEST_F(LayerWithNullDelegateTest, SwitchLayerPreservesCCLayerState) { |
EXPECT_NE(before_layer, l1->cc_layer()); |
EXPECT_EQ(gfx::PointF().ToString(), |
- l1->cc_layer()->anchor_point().ToString()); |
+ l1->cc_layer()->transform_origin().ToString()); |
EXPECT_TRUE(l1->cc_layer()->DrawsContent()); |
EXPECT_TRUE(l1->cc_layer()->contents_opaque()); |
EXPECT_TRUE(l1->cc_layer()->force_render_surface()); |
@@ -710,7 +710,7 @@ TEST_F(LayerWithNullDelegateTest, SwitchLayerPreservesCCLayerState) { |
l1->SetShowPaintedContent(); |
EXPECT_EQ(gfx::PointF().ToString(), |
- l1->cc_layer()->anchor_point().ToString()); |
+ l1->cc_layer()->transform_origin().ToString()); |
EXPECT_TRUE(l1->cc_layer()->DrawsContent()); |
EXPECT_TRUE(l1->cc_layer()->contents_opaque()); |
EXPECT_TRUE(l1->cc_layer()->force_render_surface()); |