Index: Source/core/layout/LayoutObject.h |
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h |
index e32d547a951980bd788bb94d1379e1e5249fc7e1..dd7a289d3af014abf16622a0ac17e29123566526 100644 |
--- a/Source/core/layout/LayoutObject.h |
+++ b/Source/core/layout/LayoutObject.h |
@@ -100,6 +100,7 @@ typedef unsigned MapCoordinatesFlags; |
const LayoutUnit& caretWidth(); |
struct AnnotatedRegionValue { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
bool operator==(const AnnotatedRegionValue& o) const |
{ |
return draggable == o.draggable && bounds == o.bounds; |
@@ -820,6 +821,7 @@ public: |
virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; |
struct AppliedTextDecoration { |
+ STACK_ALLOCATED(); |
Color color; |
TextDecorationStyle style; |
AppliedTextDecoration() : color(Color::transparent), style(TextDecorationStyleSolid) { } |
@@ -1438,6 +1440,7 @@ private: |
// FIXME: remove this once the layout object lifecycle ASSERTS are no longer hit. |
class DeprecatedDisableModifyLayoutTreeStructureAsserts { |
+ STACK_ALLOCATED(); |
WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyLayoutTreeStructureAsserts); |
public: |
DeprecatedDisableModifyLayoutTreeStructureAsserts(); |
@@ -1451,6 +1454,7 @@ private: |
// FIXME: We should not allow paint invalidation out of paint invalidation state. crbug.com/457415 |
// Remove this once we fix the bug. |
class DisablePaintInvalidationStateAsserts { |
+ STACK_ALLOCATED(); |
WTF_MAKE_NONCOPYABLE(DisablePaintInvalidationStateAsserts); |
public: |
DisablePaintInvalidationStateAsserts(); |