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

Unified Diff: chrome/test/webdriver/dispatch.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
« no previous file with comments | « chrome/test/webdriver/commands/webelement_commands.cc ('k') | chrome/test/webdriver/dispatch_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/dispatch.cc
diff --git a/chrome/test/webdriver/dispatch.cc b/chrome/test/webdriver/dispatch.cc
index 306aeb9ffd6c6221b7118c674bc23f053c874ad8..80e8e1d761d58dfc2f26418db58b8c9a1541c713 100644
--- a/chrome/test/webdriver/dispatch.cc
+++ b/chrome/test/webdriver/dispatch.cc
@@ -288,13 +288,13 @@ void DispatchHelper(Command* command_ptr,
(method == "DELETE" && !command->DoesDelete())) {
ListValue* methods = new ListValue;
if (command->DoesPost())
- methods->Append(Value::CreateStringValue("POST"));
+ methods->Append(base::StringValue::New("POST"));
if (command->DoesGet()) {
- methods->Append(Value::CreateStringValue("GET"));
- methods->Append(Value::CreateStringValue("HEAD"));
+ methods->Append(base::StringValue::New("GET"));
+ methods->Append(base::StringValue::New("HEAD"));
}
if (command->DoesDelete())
- methods->Append(Value::CreateStringValue("DELETE"));
+ methods->Append(base::StringValue::New("DELETE"));
response->SetStatus(kMethodNotAllowed);
response->SetValue(methods);
return;
« no previous file with comments | « chrome/test/webdriver/commands/webelement_commands.cc ('k') | chrome/test/webdriver/dispatch_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698