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

Unified Diff: Source/core/layout/OrderIterator.h

Issue 1318713003: Make classes and structures in core/layout 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/layout/MultiColumnFragmentainerGroup.h ('k') | Source/core/layout/PaintInvalidationState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/OrderIterator.h
diff --git a/Source/core/layout/OrderIterator.h b/Source/core/layout/OrderIterator.h
index fadded49dc53902b7faf487f169cee1bcf56f3b4..090a5b590b07de838a90d61cf69bffd8f6c143a6 100644
--- a/Source/core/layout/OrderIterator.h
+++ b/Source/core/layout/OrderIterator.h
@@ -31,6 +31,7 @@
#ifndef OrderIterator_h
#define OrderIterator_h
+#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
#include <set>
@@ -40,6 +41,7 @@ namespace blink {
class LayoutBox;
class OrderIterator {
+ DISALLOW_ALLOCATION();
WTF_MAKE_NONCOPYABLE(OrderIterator);
public:
friend class OrderIteratorPopulator;
@@ -63,6 +65,7 @@ private:
};
class OrderIteratorPopulator {
+ STACK_ALLOCATED();
public:
explicit OrderIteratorPopulator(OrderIterator& iterator)
: m_iterator(iterator)
« no previous file with comments | « Source/core/layout/MultiColumnFragmentainerGroup.h ('k') | Source/core/layout/PaintInvalidationState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698