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

Unified Diff: Source/core/fetch/DocumentResourceReference.h

Issue 1310643003: Make classes and structures in core/events and core/fetch fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/core/fetch/DocumentResourceReference.h
diff --git a/Source/core/fetch/DocumentResourceReference.h b/Source/core/fetch/DocumentResourceReference.h
index 46f9bf5167a4579d30d88c50c3521426ec7df47a..c5936bdbbc404dc5564d5d76b17d1bb9fcdb078d 100644
--- a/Source/core/fetch/DocumentResourceReference.h
+++ b/Source/core/fetch/DocumentResourceReference.h
@@ -32,6 +32,7 @@
namespace blink {
class DocumentResourceReference final : public DocumentResourceClient {
+ WTF_MAKE_FAST_ALLOCATED(DocumentResourceReference);
public:
DocumentResourceReference(DocumentResource* document) : m_document(document) { m_document->addClient(this); }
~DocumentResourceReference() override { m_document->removeClient(this); }

Powered by Google App Engine
This is Rietveld 408576698