| Index: ppapi/proxy/websocket_resource.cc
|
| diff --git a/ppapi/proxy/websocket_resource.cc b/ppapi/proxy/websocket_resource.cc
|
| index c45de909b55e6b36744d513c90375e450ba9ef9c..7439826dba18dc5596912d0e9bb0cbdbb24d59b8 100644
|
| --- a/ppapi/proxy/websocket_resource.cc
|
| +++ b/ppapi/proxy/websocket_resource.cc
|
| @@ -423,10 +423,10 @@ void WebSocketResource::OnPluginMsgReceiveBinaryReply(
|
| return;
|
|
|
| // Append received data to queue.
|
| - scoped_refptr<Var> message_var(ArrayBufferVar::FromPPVar(
|
| - PpapiGlobals::Get()->GetVarTracker()->MakeArrayBufferPPVar(
|
| + scoped_refptr<Var> message_var(
|
| + PpapiGlobals::Get()->GetVarTracker()->MakeArrayBufferVar(
|
| message.size(),
|
| - &message.front())));
|
| + &message.front()));
|
| received_messages_.push(message_var);
|
|
|
| if (!TrackedCallback::IsPending(receive_callback_))
|
|
|