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

Unified Diff: chrome/test/chromedriver/net/websocket.cc

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan Created 4 years, 1 month 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/renderer/searchbox/searchbox.cc ('k') | chrome/utility/media_galleries/itunes_library_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/net/websocket.cc
diff --git a/chrome/test/chromedriver/net/websocket.cc b/chrome/test/chromedriver/net/websocket.cc
index 3f43f483784bcf5f666b9535fee49b5dec47a7db..f1a1692ed4ef6c79e5fad9f39695c3a1e1a22909 100644
--- a/chrome/test/chromedriver/net/websocket.cc
+++ b/chrome/test/chromedriver/net/websocket.cc
@@ -144,9 +144,7 @@ void WebSocket::OnSocketConnect(int code) {
"Pragma: no-cache\r\n"
"Cache-Control: no-cache\r\n"
"\r\n",
- url_.path().c_str(),
- url_.host().c_str(),
- sec_key_.c_str());
+ url_.path().as_string().c_str(), url_.host().c_str(), sec_key_.c_str());
Write(handshake);
Read();
}
« no previous file with comments | « chrome/renderer/searchbox/searchbox.cc ('k') | chrome/utility/media_galleries/itunes_library_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698