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

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

Issue 943173002: Web MIDI: dispatch MIDIConnectionEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review #3 Created 5 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
« no previous file with comments | « Source/modules/webmidi/MIDIConnectionEvent.h ('k') | Source/modules/webmidi/MIDIMessageEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIConnectionEvent.cpp
diff --git a/Source/modules/webmidi/MIDIConnectionEvent.cpp b/Source/modules/webmidi/MIDIConnectionEvent.cpp
index 2d20d6e48b7e5415d1df7d2f2953dac7f438a0ee..2603120c33c65fbd4eea5378827427ce35a05fd3 100644
--- a/Source/modules/webmidi/MIDIConnectionEvent.cpp
+++ b/Source/modules/webmidi/MIDIConnectionEvent.cpp
@@ -34,16 +34,6 @@
namespace blink {
-MIDIConnectionEvent::MIDIConnectionEvent()
-{
-}
-
-MIDIConnectionEvent::MIDIConnectionEvent(const AtomicString& type, MIDIPort* port)
- : Event(type, false, false)
- , m_port(port)
-{
-}
-
MIDIConnectionEvent::MIDIConnectionEvent(const AtomicString& type, const MIDIConnectionEventInit& initializer)
: Event(type, initializer)
, m_port(nullptr)
@@ -52,21 +42,6 @@ MIDIConnectionEvent::MIDIConnectionEvent(const AtomicString& type, const MIDICon
m_port = initializer.port();
}
-PassRefPtrWillBeRawPtr<MIDIConnectionEvent> MIDIConnectionEvent::create()
-{
- return adoptRefWillBeNoop(new MIDIConnectionEvent());
-}
-
-PassRefPtrWillBeRawPtr<MIDIConnectionEvent> MIDIConnectionEvent::create(const AtomicString& type, MIDIPort* port)
-{
- return adoptRefWillBeNoop(new MIDIConnectionEvent(type, port));
-}
-
-PassRefPtrWillBeRawPtr<MIDIConnectionEvent> MIDIConnectionEvent::create(const AtomicString& type, const MIDIConnectionEventInit& initializer)
-{
- return adoptRefWillBeNoop(new MIDIConnectionEvent(type, initializer));
-}
-
DEFINE_TRACE(MIDIConnectionEvent)
{
visitor->trace(m_port);
« no previous file with comments | « Source/modules/webmidi/MIDIConnectionEvent.h ('k') | Source/modules/webmidi/MIDIMessageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698