Index: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp |
diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp |
index 34ec0bc12f3fd765feed185011cf78a265b239dd..528f9e3e4f33eaace6bf030d62239db4ede5bb3d 100644 |
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp |
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp |
@@ -90,9 +90,9 @@ public: |
return true; |
} |
- WebTaskRunner* clone() override |
+ std::unique_ptr<WebTaskRunner> clone() override |
{ |
- return new TestingPlatformMockWebTaskRunner(m_tasks); |
+ return WTF::wrapUnique(new TestingPlatformMockWebTaskRunner(m_tasks)); |
} |
double virtualTimeSeconds() const override |