diff options
Diffstat (limited to 'chrome/test/webdriver/commands/navigate_commands.cc')
| -rw-r--r-- | chrome/test/webdriver/commands/navigate_commands.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/test/webdriver/commands/navigate_commands.cc b/chrome/test/webdriver/commands/navigate_commands.cc index 75f9a1a..f65c695 100644 --- a/chrome/test/webdriver/commands/navigate_commands.cc +++ b/chrome/test/webdriver/commands/navigate_commands.cc @@ -4,6 +4,8 @@ #include "chrome/test/webdriver/commands/navigate_commands.h" +#include "chrome/test/webdriver/commands/response.h" + namespace webdriver { ForwardCommand::ForwardCommand(const std::vector<std::string>& path_segments, @@ -23,7 +25,7 @@ void ForwardCommand::ExecutePost(Response* const response) { } session_->set_current_frame_xpath(""); - response->set_status(kSuccess); + response->SetStatus(kSuccess); } bool ForwardCommand::RequiresValidTab() { @@ -47,7 +49,7 @@ void BackCommand::ExecutePost(Response* const response) { } session_->set_current_frame_xpath(""); - response->set_status(kSuccess); + response->SetStatus(kSuccess); } bool BackCommand::RequiresValidTab() { @@ -71,7 +73,7 @@ void RefreshCommand::ExecutePost(Response* const response) { } session_->set_current_frame_xpath(""); - response->set_status(kSuccess); + response->SetStatus(kSuccess); } bool RefreshCommand::RequiresValidTab() { |
