summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/commands/keys_command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/webdriver/commands/keys_command.cc')
-rw-r--r--chrome/test/webdriver/commands/keys_command.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/webdriver/commands/keys_command.cc b/chrome/test/webdriver/commands/keys_command.cc
index 0e2b10e..7b2b628 100644
--- a/chrome/test/webdriver/commands/keys_command.cc
+++ b/chrome/test/webdriver/commands/keys_command.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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"));