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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Fix Android Compilation Error 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 6f4e66500156f32a069b4792e265a539281612c8..575fbfe35840fc02e089ee96f19795492badc55e 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1763,7 +1763,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