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 0bd8755879ae9d39927125e72e8d4a1f59a2f522..a0551daf066d52202c4f3b69dc25e1e0a12e284a 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
@@ -11,8 +11,6 @@ |
#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 { |
@@ -91,7 +89,7 @@ public: |
{ |
TestingPlatformSupport::Config config; |
config.compositorSupport = Platform::current()->compositorSupport(); |
- m_fakePlatform = wrapUnique(new TestingPlatformSupportWithMockScheduler(config)); |
+ m_fakePlatform = adoptPtr(new TestingPlatformSupportWithMockScheduler(config)); |
} |
void TearDown() override |
@@ -100,7 +98,7 @@ public: |
} |
private: |
- std::unique_ptr<TestingPlatformSupportWithMockScheduler> m_fakePlatform; |
+ OwnPtr<TestingPlatformSupportWithMockScheduler> m_fakePlatform; |
}; |
} // namespace blink |