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

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

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 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/url_command.cc
diff --git a/chrome/test/webdriver/commands/url_command.cc b/chrome/test/webdriver/commands/url_command.cc
index 7a495d9fb6d3a0f13a765a30e4e3bf655575e515..aae174fa4eb268adb41312ece1f30046a77049d0 100644
--- a/chrome/test/webdriver/commands/url_command.cc
+++ b/chrome/test/webdriver/commands/url_command.cc
@@ -33,7 +33,7 @@ void URLCommand::ExecuteGet(Response* const response) {
response->SetError(error);
return;
}
- response->SetValue(new StringValue(url));
+ response->SetValue(base::StringValue::New(url));
}
void URLCommand::ExecutePost(Response* const response) {
@@ -49,7 +49,7 @@ void URLCommand::ExecutePost(Response* const response) {
response->SetError(error);
return;
}
- response->SetValue(new StringValue(url));
+ response->SetValue(base::StringValue::New(url));
}
« no previous file with comments | « chrome/test/webdriver/commands/title_command.cc ('k') | chrome/test/webdriver/commands/webdriver_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698