Index: third_party/WebKit/Source/core/events/MessageEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/MessageEvent.cpp b/third_party/WebKit/Source/core/events/MessageEvent.cpp |
index d1107f5b3407471ed3d4ae7a604cde6c90b0adaf..8b04e6cdb52011d2d0cbf6eaf183f851256f19b8 100644 |
--- a/third_party/WebKit/Source/core/events/MessageEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/MessageEvent.cpp |
@@ -117,7 +117,7 @@ MessageEvent::MessageEvent(Blob* data, const String& origin, const String& subor |
{ |
} |
-MessageEvent::MessageEvent(PassRefPtr<DOMArrayBuffer> data, const String& origin, const String& suborigin) |
+MessageEvent::MessageEvent(DOMArrayBuffer* data, const String& origin, const String& suborigin) |
: Event(EventTypeNames::message, false, false) |
, m_dataType(DataTypeArrayBuffer) |
, m_dataAsArrayBuffer(data) |
@@ -206,6 +206,7 @@ void MessageEvent::entangleMessagePorts(ExecutionContext* context) |
DEFINE_TRACE(MessageEvent) |
{ |
visitor->trace(m_dataAsBlob); |
+ visitor->trace(m_dataAsArrayBuffer); |
visitor->trace(m_source); |
visitor->trace(m_ports); |
Event::trace(visitor); |