diff options
Diffstat (limited to 'net/websockets/websocket_frame.cc')
-rw-r--r-- | net/websockets/websocket_frame.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/websockets/websocket_frame.cc b/net/websockets/websocket_frame.cc index 94d1389..da596d8 100644 --- a/net/websockets/websocket_frame.cc +++ b/net/websockets/websocket_frame.cc @@ -59,7 +59,7 @@ inline void MaskWebSocketFramePayloadByBytes( scoped_ptr<WebSocketFrameHeader> WebSocketFrameHeader::Clone() const { scoped_ptr<WebSocketFrameHeader> ret(new WebSocketFrameHeader(opcode)); ret->CopyFrom(*this); - return ret.Pass(); + return ret; } void WebSocketFrameHeader::CopyFrom(const WebSocketFrameHeader& source) { |