summaryrefslogtreecommitdiffstats
path: root/chrome/browser/custom_handlers/protocol_handler_registry.cc
diff options
context:
space:
mode:
authorvabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-03 08:43:37 +0000
committervabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-03 08:43:37 +0000
commit5d30f92bf4e9f055d44ea0db2327b036ae41eef6 (patch)
treee4237d83ef224e420140e6411ac84f60216555d1 /chrome/browser/custom_handlers/protocol_handler_registry.cc
parent4ccaee6820cb8ac79581141a4f2463a2abb38442 (diff)
downloadchromium_src-5d30f92bf4e9f055d44ea0db2327b036ae41eef6.zip
chromium_src-5d30f92bf4e9f055d44ea0db2327b036ae41eef6.tar.gz
chromium_src-5d30f92bf4e9f055d44ea0db2327b036ae41eef6.tar.bz2
Correct const accessors in base/values.(h|cc), Part II (ListValue)
For problem description and other info please see the BUG page. This is for ListValue. BUG=138946 TEST=N/A (no fix & no new feature) TBR=jar,zelidrag,scottbyer,mpcomplete,darin,achuith,sky,estade,atwilson,grt,thakis,jamesr,hans,sadrul,pastarmovj Review URL: https://chromiumcodereview.appspot.com/10837044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers/protocol_handler_registry.cc')
-rw-r--r--chrome/browser/custom_handlers/protocol_handler_registry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
index e9e0c08..b208053 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -834,7 +834,7 @@ ProtocolHandlerRegistry::GetHandlersFromPref(const char* pref_name) const {
const ListValue* handlers = prefs->GetList(pref_name);
if (handlers) {
for (size_t i = 0; i < handlers->GetSize(); ++i) {
- DictionaryValue* dict;
+ const DictionaryValue* dict;
if (!handlers->GetDictionary(i, &dict))
continue;
if (ProtocolHandler::IsValidDict(dict)) {