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

Unified Diff: chrome/test/webdriver/commands/execute_command.cc

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reverting webdriver:Command::parameters_ to const 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/test/webdriver/commands/execute_command.cc
diff --git a/chrome/test/webdriver/commands/execute_command.cc b/chrome/test/webdriver/commands/execute_command.cc
index 7bb5a9a72e22b7073e927240433b44fb42b56d6c..d1c0b2430ccde4572ae33799a504594f3fa13394 100644
--- a/chrome/test/webdriver/commands/execute_command.cc
+++ b/chrome/test/webdriver/commands/execute_command.cc
@@ -30,7 +30,7 @@ void ExecuteCommand::ExecutePost(Response* const response) {
return;
}
- ListValue* args;
+ const ListValue* args;
if (!GetListParameter("args", &args)) {
response->SetError(new Error(
kBadRequest, "No script arguments specified"));

Powered by Google App Engine
This is Rietveld 408576698