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

Unified Diff: chrome/test/webdriver/commands/execute_async_script_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
« no previous file with comments | « chrome/test/webdriver/commands/create_session.cc ('k') | chrome/test/webdriver/commands/execute_command.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/commands/execute_async_script_command.cc
diff --git a/chrome/test/webdriver/commands/execute_async_script_command.cc b/chrome/test/webdriver/commands/execute_async_script_command.cc
index 8acd4b87412668e29f9dd5e14e20e830aaa957ca..62635df572315901eabb2244bf88acead11bce23 100644
--- a/chrome/test/webdriver/commands/execute_async_script_command.cc
+++ b/chrome/test/webdriver/commands/execute_async_script_command.cc
@@ -30,7 +30,7 @@ void ExecuteAsyncScriptCommand::ExecutePost(Response* const response) {
return;
}
- ListValue* args;
+ const ListValue* args;
if (!GetListParameter("args", &args)) {
response->SetError(new Error(
kBadRequest, "No script arguments specified"));
« no previous file with comments | « chrome/test/webdriver/commands/create_session.cc ('k') | chrome/test/webdriver/commands/execute_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698