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

Unified Diff: third_party/WebKit/Source/modules/nfc/NFC.cpp

Issue 2570463005: Retire ThreadState::registerPreFinalizer<T>() (Closed)
Patch Set: Created 4 years 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
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))));

Powered by Google App Engine
This is Rietveld 408576698