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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.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/core/frame/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index b3d309829b12baae7233112b57e40a22476240f7..eb19d0647419fc784649825ab7514d407eaab83d 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -274,7 +274,6 @@ LocalDOMWindow::LocalDOMWindow(LocalFrame& frame)
m_visualViewport(DOMVisualViewport::create(this)),
m_unusedPreloadsTimer(this, &LocalDOMWindow::warnUnusedPreloads),
m_shouldPrintWhenFinishedLoading(false) {
- ThreadState::current()->registerPreFinalizer(this);
}
void LocalDOMWindow::clearDocument() {
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceOwner.h ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698