Index: net/websockets/websocket_end_to_end_test.cc |
diff --git a/net/websockets/websocket_end_to_end_test.cc b/net/websockets/websocket_end_to_end_test.cc |
index 4aa2f1c8094883530a823d34710760736f785a8f..1a3df040e9f429320a9c099f86ccc0edd046d0c7 100644 |
--- a/net/websockets/websocket_end_to_end_test.cc |
+++ b/net/websockets/websocket_end_to_end_test.cc |
@@ -338,9 +338,8 @@ TEST_F(WebSocketEndToEndTest, DISABLED_ON_ANDROID(HttpsProxyUsed)) { |
// The test server doesn't have an unauthenticated proxy mode. WebSockets |
// cannot provide auth information that isn't already cached, so it's |
// necessary to preflight an HTTP request to authenticate against the proxy. |
- std::string scheme("http"); |
GURL::Replacements replacements; |
- replacements.SetSchemeStr(scheme); |
+ replacements.SetSchemeStr("http"); |
// It doesn't matter what the URL is, as long as it is an HTTP navigation. |
GURL http_page = |
ws_server.GetURL("connect_check.html").ReplaceComponents(replacements); |