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

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: 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/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 b417664a7ef3dd09481fdc5f33497f7f4bf5ef34..e47777b3be56852ad754effba7c9240522825b68 100644
--- a/chrome/browser/extensions/api/font_settings/font_settings_api.cc
+++ b/chrome/browser/extensions/api/font_settings/font_settings_api.cc
@@ -300,7 +300,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