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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.h

Issue 1989093003: Remove the prefinalizer of Resource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp1985033003
Patch Set: Created 4 years, 7 months 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/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index 37a5c9f68a7584bba45e7ec5cb3b7a43f7b30e70..29792f1333b1604056b33e0d96589e105e02eed3 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -57,7 +57,6 @@ class SharedBuffer;
// This class also does the actual communication with the loader to obtain the resource from the network.
class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource> {
WTF_MAKE_NONCOPYABLE(Resource);
- USING_PRE_FINALIZER(Resource, willDestroyResource);
public:
enum Type {
MainResource,
@@ -91,7 +90,6 @@ public:
}
virtual ~Resource();
- void willDestroyResource();
DECLARE_VIRTUAL_TRACE();
void load(ResourceFetcher*);
@@ -262,8 +260,6 @@ protected:
void didRemoveClientOrObserver();
virtual void allClientsAndObserversRemoved();
- virtual void willDestroyResourceInternal() { }
-
HashCountedSet<ResourceClient*> m_clients;
HashCountedSet<ResourceClient*> m_clientsAwaitingCallback;
HashCountedSet<ResourceClient*> m_finishedClients;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698