| Index: third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h
|
| index a0551daf066d52202c4f3b69dc25e1e0a12e284a..0bd8755879ae9d39927125e72e8d4a1f59a2f522 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h
|
| @@ -11,6 +11,8 @@
|
| #include "platform/scroll/ScrollbarThemeMock.h"
|
| #include "platform/testing/TestingPlatformSupport.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -89,7 +91,7 @@ public:
|
| {
|
| TestingPlatformSupport::Config config;
|
| config.compositorSupport = Platform::current()->compositorSupport();
|
| - m_fakePlatform = adoptPtr(new TestingPlatformSupportWithMockScheduler(config));
|
| + m_fakePlatform = wrapUnique(new TestingPlatformSupportWithMockScheduler(config));
|
| }
|
|
|
| void TearDown() override
|
| @@ -98,7 +100,7 @@ public:
|
| }
|
|
|
| private:
|
| - OwnPtr<TestingPlatformSupportWithMockScheduler> m_fakePlatform;
|
| + std::unique_ptr<TestingPlatformSupportWithMockScheduler> m_fakePlatform;
|
| };
|
|
|
| } // namespace blink
|
|
|