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

Unified Diff: Source/modules/webmidi/MIDIInput.h

Issue 1238083002: Oilpan: Move the EventListener hierarchy to Oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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: Source/modules/webmidi/MIDIInput.h
diff --git a/Source/modules/webmidi/MIDIInput.h b/Source/modules/webmidi/MIDIInput.h
index 59550b5941fa70c8e299c95ccbb9102e03df6f5b..61977e73951c8bd245384f1a785dff735f4a2c73 100644
--- a/Source/modules/webmidi/MIDIInput.h
+++ b/Source/modules/webmidi/MIDIInput.h
@@ -46,11 +46,11 @@ public:
~MIDIInput() override { }
EventListener* onmidimessage();
- void setOnmidimessage(PassRefPtr<EventListener>);
+ void setOnmidimessage(PassRefPtrWillBeRawPtr<EventListener>);
// EventTarget
const AtomicString& interfaceName() const override { return EventTargetNames::MIDIInput; }
- bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture) override;
+ bool addEventListener(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener>, bool useCapture) override;
// |timeStamp| is a DOMHighResTimeStamp in the time coordinate system of performance.now().
void didReceiveMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp);

Powered by Google App Engine
This is Rietveld 408576698