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

Unified Diff: chrome/browser/ui/tabs/pinned_tab_codec.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/ui/tabs/pinned_tab_codec.cc
diff --git a/chrome/browser/ui/tabs/pinned_tab_codec.cc b/chrome/browser/ui/tabs/pinned_tab_codec.cc
index a147a5cf400ff68e0eb1f5494dde438e6ac8f851..3ff361dc1152b3faaf52674bac125cb7c34b5182 100644
--- a/chrome/browser/ui/tabs/pinned_tab_codec.cc
+++ b/chrome/browser/ui/tabs/pinned_tab_codec.cc
@@ -152,7 +152,7 @@ StartupTabs PinnedTabCodec::ReadPinnedTabs(const base::Value* value) {
return results;
for (size_t i = 0, max = tabs_list->GetSize(); i < max; ++i) {
- base::DictionaryValue* tab_values = NULL;
+ const base::DictionaryValue* tab_values = NULL;
if (tabs_list->GetDictionary(i, &tab_values)) {
StartupTab tab;
if (DecodeTab(*tab_values, &tab))
« no previous file with comments | « chrome/browser/ui/gtk/chrome_to_mobile_bubble_gtk.cc ('k') | chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698