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 2bab2b3ea0c940834bfb61d26e9b57a8651687e4..575c242dcc5103559909ecc48e10d276292898b6 100644 |
--- a/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp |
@@ -122,7 +122,7 @@ |
if (m_isClosingOrClosed) |
return true; |
- DOMArrayBuffer* arrayBuffer = webArrayBuffer; |
+ RefPtr<DOMArrayBuffer> arrayBuffer = PassRefPtr<DOMArrayBuffer>(webArrayBuffer); |
m_private->send(*arrayBuffer, 0, arrayBuffer->byteLength()); |
return true; |
} |