| Index: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
|
| diff --git a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
|
| index c403fce62ed701cd3173c1e62b583403de941570..950d75f4dbb213f5ccd6d9a8e0572f85538af6b4 100644
|
| --- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
|
| +++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp
|
| @@ -107,7 +107,7 @@ DocumentWebSocketChannel::BlobLoader::BlobLoader(PassRefPtr<BlobDataHandle> blob
|
| : m_channel(channel)
|
| , m_loader(FileReaderLoader::create(FileReaderLoader::ReadAsArrayBuffer, this))
|
| {
|
| - m_loader->start(channel->getExecutionContext(), blobDataHandle);
|
| + m_loader->start(channel->getExecutionContext(), std::move(blobDataHandle));
|
| }
|
|
|
| void DocumentWebSocketChannel::BlobLoader::cancel()
|
| @@ -207,7 +207,7 @@ void DocumentWebSocketChannel::send(PassRefPtr<BlobDataHandle> blobDataHandle)
|
| // Since Binary data are not displayed in Inspector, this does not
|
| // affect actual behavior.
|
| InspectorInstrumentation::didSendWebSocketFrame(document(), m_identifier, WebSocketFrame::OpCodeBinary, true, "", 0);
|
| - m_messages.append(new Message(blobDataHandle));
|
| + m_messages.append(new Message(std::move(blobDataHandle)));
|
| processSendQueue();
|
| }
|
|
|
|
|