Index: third_party/WebKit/Source/core/layout/ng/inline/ng_physical_line_box_fragment.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_physical_line_box_fragment.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_physical_line_box_fragment.h |
index 94aabeb011bb9c3ea66690219aa9ac7551610eff..386e44973b931d16a717cd4b10224893ade26d1c 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_physical_line_box_fragment.h |
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_physical_line_box_fragment.h |
@@ -9,6 +9,7 @@ |
#include "core/layout/ng/geometry/ng_logical_offset.h" |
#include "core/layout/ng/inline/ng_line_height_metrics.h" |
#include "core/layout/ng/ng_physical_fragment.h" |
+#include "platform/fonts/FontBaseline.h" |
namespace blink { |
@@ -26,6 +27,9 @@ class CORE_EXPORT NGPhysicalLineBoxFragment final : public NGPhysicalFragment { |
const NGLineHeightMetrics& Metrics() const { return metrics_; } |
+ // Compute baseline for the specified baseline type. |
+ LayoutUnit BaselinePosition(FontBaseline) const; |
+ |
private: |
Vector<RefPtr<NGPhysicalFragment>> children_; |