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

Unified Diff: chrome/browser/chromeos/cros/sms_watcher.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: David's comments Created 8 years, 4 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/chromeos/cros/sms_watcher.cc
diff --git a/chrome/browser/chromeos/cros/sms_watcher.cc b/chrome/browser/chromeos/cros/sms_watcher.cc
index c782a0c41c418a4f1ddfb1fccf98be5738e6d7ae..d7efb29f7ac1644b01bf725dea60d70b8bbb4b6b 100644
--- a/chrome/browser/chromeos/cros/sms_watcher.cc
+++ b/chrome/browser/chromeos/cros/sms_watcher.cc
@@ -183,7 +183,7 @@ class GsmWatcher : public SMSWatcher::WatcherBase {
// List() is called only once; no one touches delete_queue_ before List().
CHECK(delete_queue_.empty());
for (size_t i = 0; i != result.GetSize(); ++i) {
- base::DictionaryValue* sms_dictionary = NULL;
+ const base::DictionaryValue* sms_dictionary = NULL;
if (!result.GetDictionary(i, &sms_dictionary)) {
LOG(ERROR) << "result[" << i << "] is not a dictionary.";
continue;
« no previous file with comments | « chrome/browser/chromeos/cros/onc_network_parser.cc ('k') | chrome/browser/chromeos/gdata/gdata_contacts_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698