Index: Source/modules/webmidi/MIDIAccess.h |
diff --git a/Source/modules/webmidi/MIDIAccess.h b/Source/modules/webmidi/MIDIAccess.h |
index 9f6aaaf0c853e22c63c7242311dbb0c1e48aa189..cf21d53e3c4a5323b131d2d43f73939794c9187e 100644 |
--- a/Source/modules/webmidi/MIDIAccess.h |
+++ b/Source/modules/webmidi/MIDIAccess.h |
@@ -47,7 +47,7 @@ namespace WebCore { |
class ExecutionContext; |
class MIDIAccessPromise; |
-class MIDIAccess : public RefCounted<MIDIAccess>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData, public MIDIAccessorClient { |
+class MIDIAccess FINAL : public RefCounted<MIDIAccess>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData, public MIDIAccessorClient { |
REFCOUNTED_EVENT_TARGET(MIDIAccess); |
public: |
virtual ~MIDIAccess(); |
@@ -67,7 +67,7 @@ public: |
virtual ExecutionContext* executionContext() const OVERRIDE { return ActiveDOMObject::executionContext(); } |
// ActiveDOMObject |
- virtual void stop(); |
+ virtual void stop() OVERRIDE; |
// MIDIAccessorClient |
virtual void didAddInputPort(const String& id, const String& manufacturer, const String& name, const String& version) OVERRIDE; |
@@ -82,7 +82,7 @@ private: |
MIDIAccess(ExecutionContext*, MIDIAccessPromise*); |
void startRequest(); |
- virtual void permissionDenied(); |
+ void permissionDenied(); |
MIDIInputVector m_inputs; |
MIDIOutputVector m_outputs; |