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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.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/style/StyleFetchedImage.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
index 501e1c5ade3a1b148140af4481d23f23eab18260..76fd5e61db75aec96a4ccd560ce0b64976281e53 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp
@@ -40,7 +40,6 @@ StyleFetchedImage::StyleFetchedImage(ImageResourceContent* image,
// ResourceFetcher is not determined from StyleFetchedImage and it is
// impossible to send a request for refetching.
m_image->setNotRefetchableDataFromDiskCache();
- ThreadState::current()->registerPreFinalizer(this);
}
StyleFetchedImage::~StyleFetchedImage() {}

Powered by Google App Engine
This is Rietveld 408576698