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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/modules/webmidi/MIDIInput.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
index d6152938e8013853095bf9166fe87d9db293f2ba..1a51b251a9ca5fa2d71d4235ebf9ce41dd3b0226 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
@@ -56,7 +56,7 @@ EventListener* MIDIInput::onmidimessage()
return getAttributeEventListener(EventTypeNames::midimessage);
}
-void MIDIInput::setOnmidimessage(PassRefPtrWillBeRawPtr<EventListener> listener)
+void MIDIInput::setOnmidimessage(RawPtr<EventListener> listener)
{
// Implicit open. It does nothing if the port is already opened.
// See http://www.w3.org/TR/webmidi/#widl-MIDIPort-open-Promise-MIDIPort
@@ -65,7 +65,7 @@ void MIDIInput::setOnmidimessage(PassRefPtrWillBeRawPtr<EventListener> listener)
setAttributeEventListener(EventTypeNames::midimessage, listener);
}
-bool MIDIInput::addEventListenerInternal(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener> listener, const EventListenerOptions& options)
+bool MIDIInput::addEventListenerInternal(const AtomicString& eventType, RawPtr<EventListener> listener, const EventListenerOptions& options)
{
if (eventType == EventTypeNames::midimessage) {
// Implicit open. See setOnmidimessage().
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIInput.h ('k') | third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698