| Index: net/websockets/websocket_channel.cc
|
| diff --git a/net/websockets/websocket_channel.cc b/net/websockets/websocket_channel.cc
|
| index a9600986ecb382bca810cab968dff410158fa533..a864158088e76fbe8d0924e4774de485e9a14890 100644
|
| --- a/net/websockets/websocket_channel.cc
|
| +++ b/net/websockets/websocket_channel.cc
|
| @@ -276,7 +276,7 @@ WebSocketChannel::~WebSocketChannel() {
|
| void WebSocketChannel::SendAddChannelRequest(
|
| const GURL& socket_url,
|
| const std::vector<std::string>& requested_subprotocols,
|
| - const GURL& origin) {
|
| + const std::string& origin) {
|
| // Delegate to the tested version.
|
| SendAddChannelRequestWithSuppliedCreator(
|
| socket_url,
|
| @@ -403,7 +403,7 @@ void WebSocketChannel::StartClosingHandshake(uint16 code,
|
| void WebSocketChannel::SendAddChannelRequestForTesting(
|
| const GURL& socket_url,
|
| const std::vector<std::string>& requested_subprotocols,
|
| - const GURL& origin,
|
| + const std::string& origin,
|
| const WebSocketStreamCreator& creator) {
|
| SendAddChannelRequestWithSuppliedCreator(
|
| socket_url, requested_subprotocols, origin, creator);
|
| @@ -417,7 +417,7 @@ void WebSocketChannel::SetClosingHandshakeTimeoutForTesting(
|
| void WebSocketChannel::SendAddChannelRequestWithSuppliedCreator(
|
| const GURL& socket_url,
|
| const std::vector<std::string>& requested_subprotocols,
|
| - const GURL& origin,
|
| + const std::string& origin,
|
| const WebSocketStreamCreator& creator) {
|
| DCHECK_EQ(FRESHLY_CONSTRUCTED, state_);
|
| if (!socket_url.SchemeIsWSOrWSS()) {
|
|
|