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

Unified Diff: content/public/common/resource_response.cc

Issue 941973004: ResourceResponse: Fix self-assignment in DeepCopy(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response.cc
diff --git a/content/public/common/resource_response.cc b/content/public/common/resource_response.cc
index 92abfba8e3cf3d7fad0acc934dbb91833adcae18..e362f329a507a849ae9c1b0492d3fe6e59f28bb9 100644
--- a/content/public/common/resource_response.cc
+++ b/content/public/common/resource_response.cc
@@ -31,7 +31,7 @@ scoped_refptr<ResourceResponse> ResourceResponse::DeepCopy() const {
new_response->head.was_fetched_via_spdy = head.was_fetched_via_spdy;
new_response->head.was_npn_negotiated = head.was_npn_negotiated;
new_response->head.was_alternate_protocol_available =
- new_response->head.was_alternate_protocol_available;
+ head.was_alternate_protocol_available;
new_response->head.connection_info = head.connection_info;
new_response->head.was_fetched_via_proxy = head.was_fetched_via_proxy;
new_response->head.proxy_server = head.proxy_server;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698