Index: chrome/test/chromedriver/net/adb_client_socket.cc |
diff --git a/chrome/test/chromedriver/net/adb_client_socket.cc b/chrome/test/chromedriver/net/adb_client_socket.cc |
index 9a5a672c6bc7e69fc06f35237c67cd837b01f100..0a398acf8d3cdc0928d17bb95e6c203529058ffc 100644 |
--- a/chrome/test/chromedriver/net/adb_client_socket.cc |
+++ b/chrome/test/chromedriver/net/adb_client_socket.cc |
@@ -271,8 +271,7 @@ |
bool is_void = current_query_ < queries_.size() - 1; |
// The |shell| command is a special case because it is the only command that |
// doesn't include a length at the beginning of the data stream. |
- bool has_length = |
- !base::StartsWith(query, "shell:", base::CompareCase::SENSITIVE); |
+ bool has_length = query.find("shell:") != 0; |
SendCommand(query, is_void, has_length, |
base::Bind(&AdbQuerySocket::OnResponse, base::Unretained(this))); |
} |