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

Unified Diff: chrome/browser/extensions/webstore_inline_installer.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/webstore_inline_installer.cc
diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc
index ad79d091d6e530be10464fce566459d7d0f7efb1..4428722f3117c7adcb6a343cff75d819c49c0be4 100644
--- a/chrome/browser/extensions/webstore_inline_installer.cc
+++ b/chrome/browser/extensions/webstore_inline_installer.cc
@@ -84,7 +84,7 @@ bool WebstoreInlineInstaller::IsRequestorPermitted(
for (base::ListValue::const_iterator it = verified_sites->begin();
it != verified_sites->end() && !requestor_is_ok; ++it) {
std::string verified_site;
- if (!(*it)->GetAsString(&verified_site)) {
+ if (!it->GetAsString(&verified_site)) {
*error = kInvalidWebstoreResponseError;
return false;
}

Powered by Google App Engine
This is Rietveld 408576698