Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index ed733a988b011fc8b3b7fa92d08b1ad04fa7553b..f8c02f8cf2d3b66418eb3496788ef80ea9b4b8f4 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -598,6 +598,11 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
bitfields_.SetHasCounterNodeMap(has_counter_node_map); |
} |
+ bool LayoutNGInline() const { return bitfields_.LayoutNGInline(); } |
+ void SetLayoutNGInline(bool layout_ng_inline) { |
+ bitfields_.SetLayoutNGInline(layout_ng_inline); |
+ } |
+ |
bool EverHadLayout() const { return bitfields_.EverHadLayout(); } |
bool ChildrenInline() const { return bitfields_.ChildrenInline(); } |
@@ -2295,6 +2300,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
background_changed_since_last_paint_invalidation_(false), |
outline_may_be_affected_by_descendants_(false), |
previous_outline_may_be_affected_by_descendants_(false), |
+ layout_ng_inline_(false), |
positioned_state_(kIsStaticallyPositioned), |
selection_state_(static_cast<unsigned>(SelectionState::kNone)), |
background_obscuration_state_(kBackgroundObscurationStatusInvalid), |
@@ -2494,9 +2500,11 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
ADD_BOOLEAN_BITFIELD(previous_outline_may_be_affected_by_descendants_, |
PreviousOutlineMayBeAffectedByDescendants); |
+ ADD_BOOLEAN_BITFIELD(layout_ng_inline_, LayoutNGInline); |
+ |
protected: |
// Use protected to avoid warning about unused variable. |
- unsigned unused_bits_ : 4; |
+ unsigned unused_bits_ : 3; |
private: |
// This is the cached 'position' value of this object |