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

Unified Diff: chrome/browser/chrome_content_browser_client.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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 1926ea76782d7b663eeeb4047cd26ff8ece8c1f3..f89968fab73e94a8e1894e6718a6f3a9538b7328 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1754,7 +1754,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
for (base::ListValue::const_iterator it = switches->begin();
it != switches->end(); ++it) {
std::string switch_to_enable;
- if ((*it)->GetAsString(&switch_to_enable))
+ if (it->GetAsString(&switch_to_enable))
command_line->AppendSwitch(switch_to_enable);
}
}

Powered by Google App Engine
This is Rietveld 408576698