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