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

Unified Diff: third_party/WebKit/Source/core/fetch/MockResourceClient.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/fetch/MockResourceClient.cpp
diff --git a/third_party/WebKit/Source/core/fetch/MockResourceClient.cpp b/third_party/WebKit/Source/core/fetch/MockResourceClient.cpp
index 0d956bc4558502fb9ee6c4b196a523009911ed38..0534cd63f1483aa777cea1eea746d8b15b66d7e1 100644
--- a/third_party/WebKit/Source/core/fetch/MockResourceClient.cpp
+++ b/third_party/WebKit/Source/core/fetch/MockResourceClient.cpp
@@ -12,7 +12,6 @@ MockResourceClient::MockResourceClient(Resource* resource)
: m_resource(resource),
m_notifyFinishedCalled(false),
m_encodedSizeOnNotifyFinished(0) {
- ThreadState::current()->registerPreFinalizer(this);
m_resource->addClient(this);
}

Powered by Google App Engine
This is Rietveld 408576698