Index: Source/web/WebSocketImpl.cpp |
diff --git a/Source/web/WebSocketImpl.cpp b/Source/web/WebSocketImpl.cpp |
index 7592887bb4ca478fd06f4a92bd2c23d8e219b475..61e2464470e3262342eb1bdabb92fc9a0cb82147 100644 |
--- a/Source/web/WebSocketImpl.cpp |
+++ b/Source/web/WebSocketImpl.cpp |
@@ -51,7 +51,7 @@ WebSocketImpl::WebSocketImpl(const WebDocument& document, WebSocketClient* clien |
: m_client(client) |
, m_binaryType(BinaryTypeBlob) |
{ |
- RefPtr<Document> coreDocument = PassRefPtr<Document>(document); |
+ RefPtrWillBeRawPtr<Document> coreDocument = PassRefPtrWillBeRawPtr<Document>(document); |
if (RuntimeEnabledFeatures::experimentalWebSocketEnabled()) { |
m_private = NewWebSocketChannelImpl::create(coreDocument.get(), this); |
} else { |