Index: third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h |
index 7e1ec6abc51fc8b52eb55b96309d2f72aacbb524..e62095f2eba2a5824b4c02e32f2595fe9af29fc6 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h |
@@ -8,6 +8,7 @@ |
#include "core/CoreExport.h" |
#include "core/layout/ng/geometry/ng_logical_offset.h" |
#include "core/layout/ng/geometry/ng_margin_strut.h" |
+#include "core/layout/ng/inline/ng_baseline.h" |
#include "core/layout/ng/ng_physical_fragment.h" |
#include "core/layout/ng/ng_positioned_float.h" |
#include "platform/wtf/Optional.h" |
@@ -22,6 +23,7 @@ class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment { |
NGPhysicalSize overflow, |
Vector<RefPtr<NGPhysicalFragment>>& children, |
Vector<NGPositionedFloat>& positioned_floats, |
+ Vector<NGBaseline>& baselines, |
unsigned, // NGBorderEdges::Physical |
RefPtr<NGBreakToken> break_token = nullptr); |
@@ -39,10 +41,13 @@ class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment { |
return positioned_floats_; |
} |
+ const NGBaseline* Baseline(const NGBaselineRequest&) const; |
+ |
private: |
NGPhysicalSize overflow_; |
Vector<RefPtr<NGPhysicalFragment>> children_; |
Vector<NGPositionedFloat> positioned_floats_; |
+ Vector<NGBaseline> baselines_; |
}; |
DEFINE_TYPE_CASTS(NGPhysicalBoxFragment, |