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

Unified Diff: Source/core/dom/IncrementLoadEventDelayCount.h

Issue 1304043002: Make classes and structures in core/dom 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
« no previous file with comments | « Source/core/dom/IgnoreDestructiveWriteCountIncrementer.h ('k') | Source/core/dom/Microtask.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/IncrementLoadEventDelayCount.h
diff --git a/Source/core/dom/IncrementLoadEventDelayCount.h b/Source/core/dom/IncrementLoadEventDelayCount.h
index a322641f6faedb25b1120c29f14215960cf7290e..1a28a6d1a12563426cab7a2442cad3c7ec639aa5 100644
--- a/Source/core/dom/IncrementLoadEventDelayCount.h
+++ b/Source/core/dom/IncrementLoadEventDelayCount.h
@@ -6,6 +6,7 @@
#define IncrementLoadEventDelayCount_h
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
#include "wtf/RefPtr.h"
@@ -16,6 +17,7 @@ class Document;
// A helper class that will increment a document's loadEventDelayCount on
// contruction and decrement it on destruction (semantics similar to RefPtr).
class IncrementLoadEventDelayCount {
+ WTF_MAKE_FAST_ALLOCATED(IncrementLoadEventDelayCount);
WTF_MAKE_NONCOPYABLE(IncrementLoadEventDelayCount);
public:
« no previous file with comments | « Source/core/dom/IgnoreDestructiveWriteCountIncrementer.h ('k') | Source/core/dom/Microtask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698