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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 2120233003: [OBSOLETE] Remove WebURLResponse::initialize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix formatting issues and one last compile error 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: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 80741405a603c8aa25d3e9c085b4b2d7bac65033..c783389e490319a458a09817b0400ec72516318f 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -574,7 +574,6 @@ bool WebURLLoaderImpl::Context::OnReceivedRedirect(
this, TRACE_EVENT_FLAG_FLOW_IN | TRACE_EVENT_FLAG_FLOW_OUT);
WebURLResponse response;
- response.initialize();
PopulateURLResponse(request_.url(), info, &response,
request_.reportRawHeaders());
@@ -622,7 +621,6 @@ void WebURLLoaderImpl::Context::OnReceivedResponse(
}
WebURLResponse response;
- response.initialize();
PopulateURLResponse(request_.url(), info, &response,
request_.reportRawHeaders());

Powered by Google App Engine
This is Rietveld 408576698