Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1133)

Unified Diff: third_party/WebKit/Source/platform/testing/weburl_loader_mock.h

Issue 2831033002: Use unique_ptr for Platform::CreateURLLoader (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/testing/weburl_loader_mock.h
diff --git a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.h b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.h
index b531b2ab0d979ebad89224f2b4cb64ef3f7ef2bb..58d64b063b08f028fc208f3b5c6529697f70792a 100644
--- a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.h
+++ b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.h
@@ -30,7 +30,7 @@ class WebURLLoaderMock : public WebURLLoader {
public:
// This object becomes the owner of |default_loader|.
WebURLLoaderMock(WebURLLoaderMockFactoryImpl* factory,
- WebURLLoader* default_loader);
+ std::unique_ptr<WebURLLoader> default_loader);
~WebURLLoaderMock() override;
// Simulates the asynchronous request being served.

Powered by Google App Engine
This is Rietveld 408576698