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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.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
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
index dceb77c3202abac7eb0df286be7c808fc59e335b..7be592c5b77d9631032df748593f5e452e1a9964 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
@@ -42,11 +42,6 @@ class ExecutionContext;
class MIDIMessageEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static MIDIMessageEvent* create()
- {
- return new MIDIMessageEvent();
- }
-
static MIDIMessageEvent* create(double receivedTime, DOMUint8Array* data)
{
return new MIDIMessageEvent(receivedTime, data);
@@ -69,9 +64,6 @@ public:
}
private:
- MIDIMessageEvent()
- : m_receivedTime(0) { }
-
MIDIMessageEvent(double receivedTime, DOMUint8Array* data)
: Event(EventTypeNames::midimessage, true, false)
, m_receivedTime(receivedTime)
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIConnectionEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698