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 29f7353d4bbf72ed866887bd25f0f6803b68a32f..3d7c5d2ecd7f2415d900bf2fa7e73ade9cefc885 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp |
@@ -80,7 +80,7 @@ TEST_F(CompositorMutableStateTest, NoMutableState) |
CompositorMutations mutations; |
CompositorMutableStateProvider provider(hostImpl().active_tree(), &mutations); |
- OwnPtr<CompositorMutableState> state(provider.getMutableStateFor(42)); |
+ std::unique_ptr<CompositorMutableState> state(provider.getMutableStateFor(42)); |
EXPECT_FALSE(state); |
} |
@@ -114,7 +114,7 @@ TEST_F(CompositorMutableStateTest, MutableStateMutableProperties) |
CompositorMutations mutations; |
CompositorMutableStateProvider provider(hostImpl().active_tree(), &mutations); |
- OwnPtr<CompositorMutableState> state(provider.getMutableStateFor(primaryId)); |
+ std::unique_ptr<CompositorMutableState> state(provider.getMutableStateFor(primaryId)); |
EXPECT_TRUE(state.get()); |
EXPECT_EQ(1.0, rootLayer()->Opacity()); |