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

Unified Diff: Source/core/dom/DocumentOrderedMap.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/DocumentLifecycle.h ('k') | Source/core/dom/ElementDataCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentOrderedMap.h
diff --git a/Source/core/dom/DocumentOrderedMap.h b/Source/core/dom/DocumentOrderedMap.h
index f1e80873826ed3b1dd3360e5db145a506c06ad2d..9189bfe7e10a8327ffe8ea623b0878dbaba1ca45 100644
--- a/Source/core/dom/DocumentOrderedMap.h
+++ b/Source/core/dom/DocumentOrderedMap.h
@@ -32,6 +32,7 @@
#define DocumentOrderedMap_h
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/text/AtomicString.h"
@@ -44,6 +45,7 @@ class Element;
class TreeScope;
class DocumentOrderedMap : public NoBaseWillBeGarbageCollected<DocumentOrderedMap> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(DocumentOrderedMap);
public:
static PassOwnPtrWillBeRawPtr<DocumentOrderedMap> create();
void add(const AtomicString&, Element*);
« no previous file with comments | « Source/core/dom/DocumentLifecycle.h ('k') | Source/core/dom/ElementDataCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698