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

Unified Diff: third_party/WebKit/Source/core/loader/resource/MockFontResourceClient.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/loader/resource/MockFontResourceClient.cpp
diff --git a/third_party/WebKit/Source/core/loader/resource/MockFontResourceClient.cpp b/third_party/WebKit/Source/core/loader/resource/MockFontResourceClient.cpp
index cb07686491efd035ff7db09b69ede06d2acc947f..0b5839d660d35cee109e263b7fc98edc441d9ee0 100644
--- a/third_party/WebKit/Source/core/loader/resource/MockFontResourceClient.cpp
+++ b/third_party/WebKit/Source/core/loader/resource/MockFontResourceClient.cpp
@@ -12,7 +12,6 @@ MockFontResourceClient::MockFontResourceClient(Resource* resource)
: m_resource(resource),
m_fontLoadShortLimitExceededCalled(false),
m_fontLoadLongLimitExceededCalled(false) {
- ThreadState::current()->registerPreFinalizer(this);
m_resource->addClient(this);
}
« no previous file with comments | « third_party/WebKit/Source/core/loader/ImageLoader.cpp ('k') | third_party/WebKit/Source/core/style/StyleFetchedImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698