Index: net/websockets/websocket_basic_handshake_stream.cc |
diff --git a/net/websockets/websocket_basic_handshake_stream.cc b/net/websockets/websocket_basic_handshake_stream.cc |
index 85dad8c9011b37dd59a8b7100ec073494efcaf34..d4ed6f8530a645e94fde7f9523d95f61331394df 100644 |
--- a/net/websockets/websocket_basic_handshake_stream.cc |
+++ b/net/websockets/websocket_basic_handshake_stream.cc |
@@ -225,7 +225,7 @@ bool ValidateSubProtocol( |
bool DeflateError(std::string* message, const base::StringPiece& piece) { |
*message = "Error in permessage-deflate: "; |
- AppendToString(piece, message); |
+ piece.AppendToString(message); |
return false; |
} |