Index: third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp |
index 58c8e611b2c66394fcbb58f26432efddebb1117b..26fade650969c7270c31c27b0cfd598b8be7bf33 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClientTest.cpp |
@@ -10,8 +10,7 @@ |
#include "platform/graphics/CompositorMutator.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
+#include "wtf/OwnPtr.h" |
using ::testing::_; |
@@ -39,7 +38,7 @@ TEST(CompositorMutatorClient, CallbackForNonNullMutationsShouldApply) |
MockCompositoMutationsTarget target; |
CompositorMutatorClient client(new StubCompositorMutator, &target); |
- std::unique_ptr<CompositorMutations> mutations = wrapUnique(new CompositorMutations()); |
+ OwnPtr<CompositorMutations> mutations = adoptPtr(new CompositorMutations()); |
client.setMutationsForTesting(std::move(mutations)); |
EXPECT_CALL(target, applyMutations(_)); |