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

Unified Diff: chrome/test/webdriver/commands/keys_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/keys_command.cc
diff --git a/chrome/test/webdriver/commands/keys_command.cc b/chrome/test/webdriver/commands/keys_command.cc
index 0e2b10e4fc16879485efc4ca1ac6f38df3a6db6a..4bc9fee9ce2cddd389ebb7203838464f31103b82 100644
--- a/chrome/test/webdriver/commands/keys_command.cc
+++ b/chrome/test/webdriver/commands/keys_command.cc
@@ -23,7 +23,7 @@ bool KeysCommand::DoesPost() {
}
void KeysCommand::ExecutePost(Response* const response) {
- ListValue* key_list;
+ const ListValue* key_list;
if (!GetListParameter("value", &key_list)) {
response->SetError(new Error(
kBadRequest, "Missing or invalid 'value' parameter"));
« no previous file with comments | « chrome/test/webdriver/commands/html5_location_commands.cc ('k') | chrome/test/webdriver/commands/response.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698