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

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

Issue 205693004: Oilpan: Fix build after MIDI changes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIAccess.cpp
diff --git a/Source/modules/webmidi/MIDIAccess.cpp b/Source/modules/webmidi/MIDIAccess.cpp
index d54a3cbb5332bdd28d09dc054eeece0c7487a3d5..106aae19aa9cc18703656c2706fdd22bf5c10159 100644
--- a/Source/modules/webmidi/MIDIAccess.cpp
+++ b/Source/modules/webmidi/MIDIAccess.cpp
@@ -235,7 +235,7 @@ void MIDIAccess::resolve()
m_asyncResolveRunner.runAsync();
}
-void MIDIAccess::reject(PassRefPtr<DOMError> error)
+void MIDIAccess::reject(PassRefPtrWillBeRawPtr<DOMError> error)
{
m_error = error;
m_asyncRejectRunner.runAsync();
@@ -248,7 +248,8 @@ void MIDIAccess::resolveNow()
void MIDIAccess::rejectNow()
{
- m_resolver->reject(m_error.release().get(), executionContext());
+ m_resolver->reject(m_error.get(), executionContext());
+ m_error.clear();
}
void MIDIAccess::doPostAction(State state)
@@ -267,6 +268,7 @@ void MIDIAccess::trace(Visitor* visitor)
{
visitor->trace(m_inputs);
visitor->trace(m_outputs);
+ visitor->trace(m_error);
}
} // namespace WebCore
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698