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

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

Issue 2140523002: Remove WebURLRequest::initialize() and simplify WebURLRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mutable ref Created 4 years, 5 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.cc
diff --git a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
index 3984742a34071f3d6e85c662f917f4a8efaf560a..45affb8b901a922c9d4d875f6c4c3836077eaed2 100644
--- a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
+++ b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
@@ -67,7 +67,6 @@ WebURLRequest WebURLLoaderMock::ServeRedirect(
ParsedURLString, redirectResponse.httpHeaderField("Location"));
WebURLRequest newRequest;
- newRequest.initialize();
newRequest.setURL(redirectURL);
newRequest.setFirstPartyForCookies(redirectURL);
newRequest.setDownloadToFile(request.downloadToFile());

Powered by Google App Engine
This is Rietveld 408576698