Index: chrome/test/chromedriver/server/http_handler.cc |
diff --git a/chrome/test/chromedriver/server/http_handler.cc b/chrome/test/chromedriver/server/http_handler.cc |
index 63c0a95bcaddd7eed308e25006d7df35831d81d8..c3941b0ee2597336fc233516091c1cda6c5b9026 100644 |
--- a/chrome/test/chromedriver/server/http_handler.cc |
+++ b/chrome/test/chromedriver/server/http_handler.cc |
@@ -722,14 +722,14 @@ namespace internal { |
const char kNewSessionPathPattern[] = "session"; |
bool MatchesMethod(HttpMethod command_method, const std::string& method) { |
- std::string lower_method = base::StringToLowerASCII(method); |
+ std::string lower_method = base::ToLowerASCII(method); |
switch (command_method) { |
- case kGet: |
- return lower_method == "get"; |
- case kPost: |
- return lower_method == "post" || lower_method == "put"; |
- case kDelete: |
- return lower_method == "delete"; |
+ case kGet: |
+ return lower_method == "get"; |
+ case kPost: |
+ return lower_method == "post" || lower_method == "put"; |
+ case kDelete: |
+ return lower_method == "delete"; |
} |
return false; |
} |