Index: chrome/test/webdriver/commands/webelement_commands.cc |
diff --git a/chrome/test/webdriver/commands/webelement_commands.cc b/chrome/test/webdriver/commands/webelement_commands.cc |
index f9df353529f93deacefafa1bbe536a4fc151a370..d6e9d7e0398fe73097f4398da374a3e28639e671 100644 |
--- a/chrome/test/webdriver/commands/webelement_commands.cc |
+++ b/chrome/test/webdriver/commands/webelement_commands.cc |
@@ -25,7 +25,7 @@ namespace webdriver { |
WebElementCommand::WebElementCommand( |
const std::vector<std::string>& path_segments, |
- const DictionaryValue* const parameters) |
+ DictionaryValue* const parameters) |
: WebDriverCommand(path_segments, parameters), |
path_segments_(path_segments) {} |
@@ -531,7 +531,7 @@ Error* ElementValueCommand::HasAttributeWithLowerCaseValueASCII( |
} |
Error* ElementValueCommand::DragAndDropFilePaths() const { |
- ListValue* path_list; |
+ const ListValue* path_list; |
if (!GetListParameter("value", &path_list)) |
return new Error(kBadRequest, "Missing or invalid 'value' parameter"); |
@@ -579,7 +579,7 @@ Error* ElementValueCommand::DragAndDropFilePaths() const { |
} |
Error* ElementValueCommand::SendKeys() const { |
- ListValue* key_list; |
+ const ListValue* key_list; |
if (!GetListParameter("value", &key_list)) { |
return new Error(kBadRequest, "Missing or invalid 'value' parameter"); |
} |