Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(834)

Unified Diff: third_party/WebKit/Source/core/events/MessageEvent.h

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/MessageEvent.h
diff --git a/third_party/WebKit/Source/core/events/MessageEvent.h b/third_party/WebKit/Source/core/events/MessageEvent.h
index 673dc97ea939ecc7a7662750c4d78c53de933fc5..1f961bec488afe92409f4f4dc42c18bb999d8de7 100644
--- a/third_party/WebKit/Source/core/events/MessageEvent.h
+++ b/third_party/WebKit/Source/core/events/MessageEvent.h
@@ -67,7 +67,7 @@ public:
{
return new MessageEvent(data, origin, suborigin);
}
- static MessageEvent* create(PassRefPtr<DOMArrayBuffer> data, const String& origin = String(), const String& suborigin = String())
+ static MessageEvent* create(DOMArrayBuffer* data, const String& origin = String(), const String& suborigin = String())
{
return new MessageEvent(data, origin, suborigin);
}
@@ -122,14 +122,14 @@ private:
MessageEvent(const String& data, const String& origin, const String& suborigin);
MessageEvent(Blob* data, const String& origin, const String& suborigin);
- MessageEvent(PassRefPtr<DOMArrayBuffer> data, const String& origin, const String& suborigin);
+ MessageEvent(DOMArrayBuffer* data, const String& origin, const String& suborigin);
DataType m_dataType;
ScriptValue m_dataAsScriptValue;
RefPtr<SerializedScriptValue> m_dataAsSerializedScriptValue;
String m_dataAsString;
Member<Blob> m_dataAsBlob;
- RefPtr<DOMArrayBuffer> m_dataAsArrayBuffer;
+ Member<DOMArrayBuffer> m_dataAsArrayBuffer;
String m_origin;
String m_lastEventId;
Member<EventTarget> m_source;

Powered by Google App Engine
This is Rietveld 408576698