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 8b04e6cdb52011d2d0cbf6eaf183f851256f19b8..d1107f5b3407471ed3d4ae7a604cde6c90b0adaf 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(DOMArrayBuffer* data, const String& origin, const String& suborigin) |
+MessageEvent::MessageEvent(PassRefPtr<DOMArrayBuffer> data, const String& origin, const String& suborigin) |
: Event(EventTypeNames::message, false, false) |
, m_dataType(DataTypeArrayBuffer) |
, m_dataAsArrayBuffer(data) |
@@ -206,7 +206,6 @@ |
DEFINE_TRACE(MessageEvent) |
{ |
visitor->trace(m_dataAsBlob); |
- visitor->trace(m_dataAsArrayBuffer); |
visitor->trace(m_source); |
visitor->trace(m_ports); |
Event::trace(visitor); |