| Index: chrome/test/webdriver/commands/target_locator_commands.cc
|
| diff --git a/chrome/test/webdriver/commands/target_locator_commands.cc b/chrome/test/webdriver/commands/target_locator_commands.cc
|
| index 0dd368432adcbadb5c62f647a3d089661f26ded3..0792793c6b013189da6f30dd3133cfcc73b564aa 100644
|
| --- a/chrome/test/webdriver/commands/target_locator_commands.cc
|
| +++ b/chrome/test/webdriver/commands/target_locator_commands.cc
|
| @@ -26,7 +26,7 @@ bool WindowHandleCommand::DoesGet() {
|
| void WindowHandleCommand::ExecuteGet(Response* const response) {
|
| response->SetStatus(kSuccess);
|
| response->SetValue(new StringValue(
|
| - base::IntToString(session_->current_window_id())));
|
| + base::IntToString(session_->CurrentWindowId())));
|
| }
|
|
|
| WindowHandlesCommand::WindowHandlesCommand(
|
| @@ -121,7 +121,7 @@ void SwitchFrameCommand::ExecutePost(Response* const response) {
|
| return;
|
| }
|
| } else if (IsNullParameter("id")) {
|
| - session_->set_current_frame_xpath("");
|
| + session_->SetCurrentFrameXPath("");
|
| } else {
|
| SET_WEBDRIVER_ERROR(
|
| response, "Missing or invalid 'id' parameter", kBadRequest);
|
|
|