Index: third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp |
index 70714bec70b41a542210adbb353d1930ace00d68..6c6e6f86bc052f645e8de18e61f7ece200338fdd 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp |
@@ -44,7 +44,7 @@ public: |
void SetLayerPropertiesForTesting(LayerImpl* layer) |
{ |
- layer->SetTransform(gfx::Transform()); |
+ layer->test_properties()->transform = gfx::Transform(); |
layer->SetPosition(gfx::PointF()); |
layer->SetBounds(gfx::Size(100, 100)); |
layer->Set3dSortingContextId(0); |
@@ -118,7 +118,7 @@ TEST_F(CompositorMutableStateTest, MutableStateMutableProperties) |
EXPECT_TRUE(state.get()); |
EXPECT_EQ(1.0, rootLayer()->Opacity()); |
- EXPECT_EQ(gfx::Transform().ToString(), rootLayer()->transform().ToString()); |
+ EXPECT_EQ(gfx::Transform().ToString(), rootLayer()->Transform().ToString()); |
EXPECT_EQ(0.0, layer->CurrentScrollOffset().x()); |
EXPECT_EQ(0.0, layer->CurrentScrollOffset().y()); |
@@ -129,7 +129,7 @@ TEST_F(CompositorMutableStateTest, MutableStateMutableProperties) |
state->setScrollTop(1.0); |
EXPECT_EQ(0.5, rootLayer()->Opacity()); |
- EXPECT_EQ(zero.ToString(), rootLayer()->transform().ToString()); |
+ EXPECT_EQ(zero.ToString(), rootLayer()->Transform().ToString()); |
EXPECT_EQ(1.0, layer->CurrentScrollOffset().x()); |
EXPECT_EQ(1.0, layer->CurrentScrollOffset().y()); |