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

Unified Diff: chrome/test/webdriver/commands/target_locator_commands.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/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 d738fe0ccd56d1b9f23c64a943cd9f56ad1ed8a3..8edd1a42666ff0ffb2a323867516f5d8af8d96f5 100644
--- a/chrome/test/webdriver/commands/target_locator_commands.cc
+++ b/chrome/test/webdriver/commands/target_locator_commands.cc
@@ -25,7 +25,7 @@ bool WindowHandleCommand::DoesGet() {
}
void WindowHandleCommand::ExecuteGet(Response* const response) {
- response->SetValue(new StringValue(
+ response->SetValue(base::StringValue::New(
base::IntToString(session_->current_target().window_id)));
}
@@ -49,7 +49,7 @@ void WindowHandlesCommand::ExecuteGet(Response* const response) {
}
ListValue* id_list = new ListValue();
for (size_t i = 0; i < window_ids.size(); ++i)
- id_list->Append(new StringValue(base::IntToString(window_ids[i])));
+ id_list->Append(base::StringValue::New(base::IntToString(window_ids[i])));
response->SetValue(id_list);
}
« no previous file with comments | « chrome/test/webdriver/commands/set_timeout_commands_unittest.cc ('k') | chrome/test/webdriver/commands/title_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698