summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/commands/execute_async_script_command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/webdriver/commands/execute_async_script_command.cc')
-rw-r--r--chrome/test/webdriver/commands/execute_async_script_command.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/webdriver/commands/execute_async_script_command.cc b/chrome/test/webdriver/commands/execute_async_script_command.cc
index 8acd4b8..1eb49fa 100644
--- a/chrome/test/webdriver/commands/execute_async_script_command.cc
+++ b/chrome/test/webdriver/commands/execute_async_script_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.
@@ -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"));