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

Unified Diff: chrome/browser/extensions/api/font_settings/font_settings_api.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Rebase Created 3 years, 8 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/extensions/api/font_settings/font_settings_api.cc
diff --git a/chrome/browser/extensions/api/font_settings/font_settings_api.cc b/chrome/browser/extensions/api/font_settings/font_settings_api.cc
index b3e2457e5cc9210fb477e05f2c6af6ac9cd1f7c1..31f9f9d8003adf7ae82bf86eac4a4d183a9e31ba 100644
--- a/chrome/browser/extensions/api/font_settings/font_settings_api.cc
+++ b/chrome/browser/extensions/api/font_settings/font_settings_api.cc
@@ -301,7 +301,7 @@ bool FontSettingsGetFontListFunction::CopyFontsToResult(
for (base::ListValue::iterator it = fonts->begin();
it != fonts->end(); ++it) {
base::ListValue* font_list_value;
- if (!(*it)->GetAsList(&font_list_value)) {
+ if (!it->GetAsList(&font_list_value)) {
NOTREACHED();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698