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

Unified Diff: net/http/http_request_headers.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates Created 3 years, 9 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: net/http/http_request_headers.cc
diff --git a/net/http/http_request_headers.cc b/net/http/http_request_headers.cc
index 18e6def6bb2bbfd2af722b6e53da3aad4d2c6655..3d97a3e9ace26a188a64f6e701d2e47671ad5694 100644
--- a/net/http/http_request_headers.cc
+++ b/net/http/http_request_headers.cc
@@ -227,7 +227,7 @@ bool HttpRequestHeaders::FromNetLogParam(const base::Value* event_param,
it != header_list->end();
++it) {
std::string header_line;
- if (!(*it)->GetAsString(&header_line)) {
+ if (!it->GetAsString(&header_line)) {
headers->Clear();
*request_line = "";
return false;

Powered by Google App Engine
This is Rietveld 408576698