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

Unified Diff: Source/core/layout/MultiColumnFragmentainerGroup.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/LayoutView.h ('k') | Source/core/layout/OrderIterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/MultiColumnFragmentainerGroup.h
diff --git a/Source/core/layout/MultiColumnFragmentainerGroup.h b/Source/core/layout/MultiColumnFragmentainerGroup.h
index 2c64712fb7fc1dbcaa5428108f81c0f2cd5114fe..1de413e3a119849b4057522e31373473a9eb0741 100644
--- a/Source/core/layout/MultiColumnFragmentainerGroup.h
+++ b/Source/core/layout/MultiColumnFragmentainerGroup.h
@@ -6,6 +6,7 @@
#define MultiColumnFragmentainerGroup_h
#include "core/layout/LayoutMultiColumnFlowThread.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -26,6 +27,7 @@ namespace blink {
// need more columns than what a group has room for, we'll create another group and put them there
// (and make them appear in the next outer fragmentainer).
class MultiColumnFragmentainerGroup {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
MultiColumnFragmentainerGroup(LayoutMultiColumnSet&);
@@ -156,6 +158,7 @@ private:
// group. Deleting the one group is not allowed (or possible). There will be more than one group if
// the owning column set lives in multiple outer fragmentainers (e.g. multicol inside paged media).
class CORE_EXPORT MultiColumnFragmentainerGroupList {
+ DISALLOW_ALLOCATION();
public:
MultiColumnFragmentainerGroupList(LayoutMultiColumnSet&);
~MultiColumnFragmentainerGroupList();
« no previous file with comments | « Source/core/layout/LayoutView.h ('k') | Source/core/layout/OrderIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698