Index: content/child/websocket_bridge.cc |
diff --git a/content/child/websocket_bridge.cc b/content/child/websocket_bridge.cc |
index e61ba8743502058c189c907ba4f48ffeef70bdc7..d7a5f644be525210cf775b7711d6e91191f92138 100644 |
--- a/content/child/websocket_bridge.cc |
+++ b/content/child/websocket_bridge.cc |
@@ -214,11 +214,11 @@ void WebSocketBridge::connect( |
std::vector<std::string> protocols_to_pass; |
for (size_t i = 0; i < protocols.size(); ++i) |
protocols_to_pass.push_back(protocols[i].utf8()); |
- GURL origin_to_pass(origin.utf8()); |
+ SerializedOrigin origin_to_pass(origin); |
- DVLOG(1) << "Bridge#" << channel_id_ << " Connect(" |
- << url << ", (" << JoinString(protocols_to_pass, ", ") << "), " |
- << origin_to_pass << ")"; |
+ DVLOG(1) << "Bridge#" << channel_id_ << " Connect(" << url << ", (" |
+ << JoinString(protocols_to_pass, ", ") << "), " |
+ << origin_to_pass.string << ")"; |
ChildThread::current()->Send( |
new WebSocketHostMsg_AddChannelRequest(channel_id_, |