| 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 a4789a58fc390fd3036d9b87bfcd061776fab193..90851226d25e895cdfdb61cc146ecae2fbd63404 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h
|
| @@ -86,14 +86,12 @@ class ScrollbarTestSuite : public testing::Test {
|
| void SetUp() override {
|
| TestingPlatformSupport::Config config;
|
| config.compositorSupport = Platform::current()->compositorSupport();
|
| - m_fakePlatform =
|
| - WTF::makeUnique<TestingPlatformSupportWithMockScheduler>(config);
|
| + m_fakePlatform.reset(new TestingPlatformSupportWithMockScheduler(config));
|
| }
|
|
|
| - void TearDown() override { m_fakePlatform = nullptr; }
|
| -
|
| private:
|
| - std::unique_ptr<TestingPlatformSupportWithMockScheduler> m_fakePlatform;
|
| + ScopedTestingPlatformSupport<TestingPlatformSupportWithMockScheduler>
|
| + m_fakePlatform;
|
| };
|
|
|
| } // namespace blink
|
|
|