Chromium Code Reviews| Index: third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp |
| diff --git a/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp |
| index 4f92a0847c919c5ab96b5ad4a192576f5ff3d8e1..84954d2fc8820d26b97eabd0b77f45e47de2df10 100644 |
| --- a/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp |
| +++ b/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp |
| @@ -97,9 +97,10 @@ class MockWebRTCPeerConnectionHandler : public WebRTCPeerConnectionHandler { |
| class TestingPlatformSupportWithWebRTC : public TestingPlatformSupport { |
| public: |
| - blink::WebRTCPeerConnectionHandler* CreateRTCPeerConnectionHandler( |
| + std::unique_ptr<blink::WebRTCPeerConnectionHandler> |
| + CreateRTCPeerConnectionHandler( |
| blink::WebRTCPeerConnectionHandlerClient*) override { |
| - return new MockWebRTCPeerConnectionHandler(); |
| + return base::MakeUnique<MockWebRTCPeerConnectionHandler>(); |
|
haraken
2017/04/27 11:45:59
WTF::MakeUnique ?
altimin
2017/04/27 11:57:07
Done.
|
| } |
| }; |