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

Unified Diff: Source/core/layout/api/LineLayoutItem.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
Index: Source/core/layout/api/LineLayoutItem.h
diff --git a/Source/core/layout/api/LineLayoutItem.h b/Source/core/layout/api/LineLayoutItem.h
index 68771eecb0ee19641320a26212476cdaba8785ab..21509d08e2e80b5cb6520fb3f6e929ccf5380912 100644
--- a/Source/core/layout/api/LineLayoutItem.h
+++ b/Source/core/layout/api/LineLayoutItem.h
@@ -9,6 +9,7 @@
#include "core/layout/LayoutObjectInlines.h"
#include "platform/LayoutUnit.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -23,6 +24,7 @@ class LineLayoutBoxModel;
enum HitTestFilter;
class LineLayoutItem {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
explicit LineLayoutItem(LayoutObject* layoutObject)
: m_layoutObject(layoutObject)
« no previous file with comments | « Source/core/layout/VerticalPositionCache.h ('k') | Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698