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

Unified Diff: chrome/common/extensions/api/url_handlers/url_handlers_parser.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
Index: chrome/common/extensions/api/url_handlers/url_handlers_parser.cc
diff --git a/chrome/common/extensions/api/url_handlers/url_handlers_parser.cc b/chrome/common/extensions/api/url_handlers/url_handlers_parser.cc
index 4f971b94d9365093e4d0391fdb1188188d2ddb44..61dc4998998df1a8aa7449808b9a67f75b4fed2d 100644
--- a/chrome/common/extensions/api/url_handlers/url_handlers_parser.cc
+++ b/chrome/common/extensions/api/url_handlers/url_handlers_parser.cc
@@ -114,7 +114,7 @@
for (base::ListValue::const_iterator it = manif_patterns->begin();
it != manif_patterns->end(); ++it) {
std::string str_pattern;
- it->GetAsString(&str_pattern);
+ (*it)->GetAsString(&str_pattern);
// TODO(sergeygs): Limit this to non-top-level domains.
// TODO(sergeygs): Also add a verification to the CWS installer that the
// URL patterns claimed here belong to the app's author verified sites.

Powered by Google App Engine
This is Rietveld 408576698