Index: third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp |
index 29ac86d901004e4e06ac7c4425d7bfed771e2184..4d9ca45efcd3a69e8b9eb6bc5e28df55e5a61dc5 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp |
@@ -153,7 +153,7 @@ bool MIDIPort::hasPendingActivity() const { |
return m_connection != ConnectionStateClosed; |
} |
-void MIDIPort::stop() { |
+void MIDIPort::contextDestroyed() { |
// Should be "closed" to assume there are no pending activities. |
m_connection = ConnectionStateClosed; |
} |