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

Unified Diff: chrome/installer/util/master_preferences.cc

Issue 10837044: Correct const accessors in base/values.(h|cc), Part II (ListValue) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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/installer/util/master_preferences.cc
diff --git a/chrome/installer/util/master_preferences.cc b/chrome/installer/util/master_preferences.cc
index 24592c60f333255e4e1bb6e5641133232f645c77..21c05b181024c35732553a66cca127224535a984 100644
--- a/chrome/installer/util/master_preferences.cc
+++ b/chrome/installer/util/master_preferences.cc
@@ -43,7 +43,7 @@ std::vector<GURL> GetNamedList(const char* name,
if (!prefs->GetList(name, &value_list))
return list;
for (size_t i = 0; i < value_list->GetSize(); ++i) {
- Value* entry;
+ const Value* entry;
GURL gurl_entry;
if (!value_list->Get(i, &entry) || !GetGURLFromValue(entry, &gurl_entry)) {
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698