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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h

Issue 2217763003: Remove Blink-WebKit-only document.createEvent strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/MIDIConnectionEvent.h
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h b/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h
index 01457f289f422aa6a526830af0327e366379a41d..55fdca1cd8950545dd93e4ef1b1110657a9e10ba 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h
@@ -41,11 +41,6 @@ class MIDIConnectionEventInit;
class MIDIConnectionEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static MIDIConnectionEvent* create()
- {
- return new MIDIConnectionEvent();
- }
-
static MIDIConnectionEvent* create(MIDIPort* port)
{
return new MIDIConnectionEvent(port);
@@ -63,9 +58,6 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- MIDIConnectionEvent()
- : Event(EventTypeNames::statechange, false, false) { }
-
MIDIConnectionEvent(MIDIPort* port)
: Event(EventTypeNames::statechange, false, false)
, m_port(port) { }

Powered by Google App Engine
This is Rietveld 408576698