Index: third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp |
index 21bf2ee89403a9b7154ccf43a96a9e672a70836c..47ef628c0319c98951e68280bb6f7d0ed03faceb 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp |
@@ -69,7 +69,6 @@ MIDIAccess::MIDIAccess( |
m_accessor(std::move(accessor)), |
m_sysexEnabled(sysexEnabled), |
m_hasPendingActivity(false) { |
- ThreadState::current()->registerPreFinalizer(this); |
m_accessor->setClient(this); |
for (size_t i = 0; i < ports.size(); ++i) { |
const MIDIAccessInitializer::PortDescriptor& port = ports[i]; |