| Index: third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| diff --git a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| index a774cda0c5d7cc5d5cef12c1621c4c9c6bc8ae04..75c99cccce38aed86b79c3b7f75182ea81940c11 100644
|
| --- a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| +++ b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp
|
| @@ -127,7 +127,7 @@ void WorkerWebSocketChannel::send(const DOMArrayBuffer& binaryData, unsigned byt
|
| void WorkerWebSocketChannel::send(PassRefPtr<BlobDataHandle> blobData)
|
| {
|
| ASSERT(m_bridge);
|
| - m_bridge->send(blobData);
|
| + m_bridge->send(std::move(blobData));
|
| }
|
|
|
| void WorkerWebSocketChannel::close(int code, const String& reason)
|
| @@ -218,7 +218,7 @@ void Peer::sendBlob(PassRefPtr<BlobDataHandle> blobData)
|
| {
|
| ASSERT(isMainThread());
|
| if (m_mainWebSocketChannel)
|
| - m_mainWebSocketChannel->send(blobData);
|
| + m_mainWebSocketChannel->send(std::move(blobData));
|
| }
|
|
|
| void Peer::close(int code, const String& reason)
|
|
|