Index: third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp b/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
index 575c242dcc5103559909ecc48e10d276292898b6..2bab2b3ea0c940834bfb61d26e9b57a8651687e4 100644 |
--- a/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
@@ -122,7 +122,7 @@ bool WebPepperSocketImpl::sendArrayBuffer(const WebArrayBuffer& webArrayBuffer) |
if (m_isClosingOrClosed) |
return true; |
- RefPtr<DOMArrayBuffer> arrayBuffer = PassRefPtr<DOMArrayBuffer>(webArrayBuffer); |
+ DOMArrayBuffer* arrayBuffer = webArrayBuffer; |
m_private->send(*arrayBuffer, 0, arrayBuffer->byteLength()); |
return true; |
} |