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

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

Issue 85263006: Make IDL Callbacks non-refcounted by default (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 1 month 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
« no previous file with comments | « Source/modules/webmidi/MIDIAccessPromise.h ('k') | Source/modules/webmidi/MIDIErrorCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIAccessPromise.cpp
diff --git a/Source/modules/webmidi/MIDIAccessPromise.cpp b/Source/modules/webmidi/MIDIAccessPromise.cpp
index 01a6dfa299860bf2ea09a83ed74cdfd04c20b8e3..7ae06b3faae097ec6871a56218d3dd72b0bcb675 100644
--- a/Source/modules/webmidi/MIDIAccessPromise.cpp
+++ b/Source/modules/webmidi/MIDIAccessPromise.cpp
@@ -99,7 +99,7 @@ void MIDIAccessPromise::reject(PassRefPtr<DOMError> error)
}
}
-void MIDIAccessPromise::then(PassRefPtr<MIDISuccessCallback> successCallback, PassRefPtr<MIDIErrorCallback> errorCallback)
+void MIDIAccessPromise::then(PassOwnPtr<MIDISuccessCallback> successCallback, PassOwnPtr<MIDIErrorCallback> errorCallback)
{
// Lazily request access.
if (!m_access)
« no previous file with comments | « Source/modules/webmidi/MIDIAccessPromise.h ('k') | Source/modules/webmidi/MIDIErrorCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698