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

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: 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_command.cc
diff --git a/chrome/test/webdriver/commands/execute_command.cc b/chrome/test/webdriver/commands/execute_command.cc
index 7bb5a9a72e22b7073e927240433b44fb42b56d6c..8f27d73800e71da8939972a53b3d68dd60434672 100644
--- a/chrome/test/webdriver/commands/execute_command.cc
+++ b/chrome/test/webdriver/commands/execute_command.cc
@@ -14,7 +14,7 @@
namespace webdriver {
ExecuteCommand::ExecuteCommand(const std::vector<std::string>& path_segments,
- const DictionaryValue* const parameters)
+ DictionaryValue* const parameters)
: WebDriverCommand(path_segments, parameters) {}
ExecuteCommand::~ExecuteCommand() {}
@@ -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