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

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: One more, Windows-only 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_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..60cd56c8bfab7ce8e867cdde2b0fe1f9dc4eaa7e 100644
--- a/chrome/test/webdriver/commands/execute_async_script_command.cc
+++ b/chrome/test/webdriver/commands/execute_async_script_command.cc
@@ -13,7 +13,7 @@ namespace webdriver {
ExecuteAsyncScriptCommand::ExecuteAsyncScriptCommand(
const std::vector<std::string>& path_segments,
- const DictionaryValue* const parameters)
+ DictionaryValue* const parameters)
: WebDriverCommand(path_segments, parameters) {}
ExecuteAsyncScriptCommand::~ExecuteAsyncScriptCommand() {}
@@ -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"));

Powered by Google App Engine
This is Rietveld 408576698