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

Unified Diff: Source/modules/webmidi/MIDIAccess.cpp

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/MIDIAccess.cpp
diff --git a/Source/modules/webmidi/MIDIAccess.cpp b/Source/modules/webmidi/MIDIAccess.cpp
index 7fff274d824df86f89f163ff06e5886508dea50c..0c1b4b94f1bcb96a4c1105f0e5deef0dcb210d7c 100644
--- a/Source/modules/webmidi/MIDIAccess.cpp
+++ b/Source/modules/webmidi/MIDIAccess.cpp
@@ -74,7 +74,7 @@ EventListener* MIDIAccess::onstatechange()
return getAttributeEventListener(EventTypeNames::statechange);
}
-void MIDIAccess::setOnstatechange(PassRefPtr<EventListener> listener)
+void MIDIAccess::setOnstatechange(PassRefPtrWillBeRawPtr<EventListener> listener)
{
m_hasPendingActivity = listener;
setAttributeEventListener(EventTypeNames::statechange, listener);

Powered by Google App Engine
This is Rietveld 408576698