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

Unified Diff: chrome/test/webdriver/commands/speed_command.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/speed_command.cc
diff --git a/chrome/test/webdriver/commands/speed_command.cc b/chrome/test/webdriver/commands/speed_command.cc
index 9755305252cd8a14ebf1a07eb4aa2cbef1389715..d849e1e6d51ac3a803fafa4e7624109abcc625a9 100644
--- a/chrome/test/webdriver/commands/speed_command.cc
+++ b/chrome/test/webdriver/commands/speed_command.cc
@@ -63,7 +63,7 @@ bool SpeedCommand::DoesPost() {
}
void SpeedCommand::ExecuteGet(Response* const response) {
- switch (session_->speed()) {
+ switch (session_->Speed()) {
case Session::kSlow:
response->SetValue(new StringValue("SLOW"));
response->SetStatus(kSuccess);
@@ -95,7 +95,7 @@ void SpeedCommand::ExecutePost(Response* const response) {
return;
}
- session_->set_speed(speed_);
+ session_->SetSpeed(speed_);
response->SetValue(new StringValue("success"));
response->SetStatus(kSuccess);
}

Powered by Google App Engine
This is Rietveld 408576698