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

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

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + add missing USED_FROM_MULTIPLE_THREADS(Event) Created 6 years, 10 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/MIDIAccessPromise.cpp
diff --git a/Source/modules/webmidi/MIDIAccessPromise.cpp b/Source/modules/webmidi/MIDIAccessPromise.cpp
index ae34508c8815373432eca4e916ed10113342f7e1..eec528375de152cb74b5da059799f5995e96ecb0 100644
--- a/Source/modules/webmidi/MIDIAccessPromise.cpp
+++ b/Source/modules/webmidi/MIDIAccessPromise.cpp
@@ -85,7 +85,7 @@ void MIDIAccessPromise::fulfill()
}
}
-void MIDIAccessPromise::reject(PassRefPtr<DOMError> error)
+void MIDIAccessPromise::reject(PassRefPtrWillBeRawPtr<DOMError> error)
{
if (m_state == Pending) {
if (m_errorCallback) {
@@ -139,6 +139,7 @@ void MIDIAccessPromise::clear()
void MIDIAccessPromise::trace(Visitor* visitor)
{
+ visitor->trace(m_error);
visitor->trace(m_access);
}

Powered by Google App Engine
This is Rietveld 408576698