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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 2117313002: Remove WebURLResponse::initialize() [revised] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 7f2fcf35b44aae2e80712f97f8bfbafa5b24359e..b3b2cdafb54479656d59aa6318287663643e7b6d 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -603,7 +603,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());
@@ -654,7 +653,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