Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index 6bea51645d2862526536fd0ee9f8a7ff8d02ce7d..73cd1b5a491babc5b2ac4470302f2f4905359ed0 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -418,8 +418,6 @@ HTMLMediaElement::HTMLMediaElement(const QualifiedName& tagName,
m_autoplayUmaHelper(AutoplayUmaHelper::create(this)),
m_remotePlaybackClient(nullptr),
m_autoplayVisibilityObserver(nullptr) {
- ThreadState::current()->registerPreFinalizer(this);
-
BLINK_MEDIA_LOG << "HTMLMediaElement(" << (void*)this << ")";
m_lockedPendingUserGesture = computeLockedPendingUserGesture(document);

Powered by Google App Engine