Index: third_party/WebKit/Source/modules/nfc/NFC.cpp |
diff --git a/third_party/WebKit/Source/modules/nfc/NFC.cpp b/third_party/WebKit/Source/modules/nfc/NFC.cpp |
index 68ab2b2d4b21c0518976ec4756ef84480ede8934..3cf1e87a94518a85e351690e1f8e6acaaa2479a9 100644 |
--- a/third_party/WebKit/Source/modules/nfc/NFC.cpp |
+++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp |
@@ -574,7 +574,6 @@ NFC::NFC(LocalFrame* frame) |
: PageVisibilityObserver(frame->page()), |
ContextLifecycleObserver(frame->document()), |
m_client(this) { |
- ThreadState::current()->registerPreFinalizer(this); |
frame->interfaceProvider()->getInterface(mojo::GetProxy(&m_nfc)); |
m_nfc.set_connection_error_handler(convertToBaseCallback( |
WTF::bind(&NFC::OnConnectionError, wrapWeakPersistent(this)))); |