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

Unified Diff: ui/app_list/search/history_data_store.cc

Issue 2816513002: Revert of Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: 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
« no previous file with comments | « tools/json_schema_compiler/util.h ('k') | ui/display/manager/json_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search/history_data_store.cc
diff --git a/ui/app_list/search/history_data_store.cc b/ui/app_list/search/history_data_store.cc
index d080fa6a96381ff65c83298d6cc7209ca3d76d0f..1eb92b0d207a8d9871a4c4ae752ecc789b5908cc 100644
--- a/ui/app_list/search/history_data_store.cc
+++ b/ui/app_list/search/history_data_store.cc
@@ -35,7 +35,7 @@
for (base::ListValue::const_iterator it = list->begin(); it != list->end();
++it) {
std::string str;
- if (!it->GetAsString(&str))
+ if (!(*it)->GetAsString(&str))
return;
results.push_back(str);
« no previous file with comments | « tools/json_schema_compiler/util.h ('k') | ui/display/manager/json_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698