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

Unified Diff: chrome/browser/ui/webui/options2/startup_pages_handler.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/webui/options2/startup_pages_handler.cc
diff --git a/chrome/browser/ui/webui/options2/startup_pages_handler.cc b/chrome/browser/ui/webui/options2/startup_pages_handler.cc
index a9ca56dce5ca23889f53c20c94f9343f2fde5627..43d231bf04babdb20813ca91a282ae16ba16f677 100644
--- a/chrome/browser/ui/webui/options2/startup_pages_handler.cc
+++ b/chrome/browser/ui/webui/options2/startup_pages_handler.cc
@@ -204,7 +204,7 @@ void StartupPagesHandler::DragDropStartupPage(const ListValue* args) {
CHECK(args->GetString(0, &value));
base::StringToInt(value, &to_index);
- ListValue* selected;
+ const ListValue* selected;
CHECK(args->GetList(1, &selected));
std::vector<int> index_list;

Powered by Google App Engine
This is Rietveld 408576698