Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4620)

Unified Diff: chrome/test/webdriver/commands/target_locator_commands.cc

Issue 5572001: Send screenshots back to the client for debugging (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fixed nit Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698