Index: third_party/WebKit/Source/core/layout/LayoutBlock.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h |
index 358dcff2e53d2618b0d548794074594931924f10..ad442524c55389d11ec8c213b3e0033051580e30 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h |
@@ -276,6 +276,9 @@ public: |
bool recalcChildOverflowAfterStyleChange(); |
bool recalcOverflowAfterStyleChange(); |
+ // Obtains the nearest enclosing block (including this block) that contributes a first-line style to our inline children. |
+ LayoutBlock* firstLineBlock() const; |
+ |
void invalidateDisplayItemClientsOfFirstLine(); |
protected: |
@@ -398,10 +401,6 @@ private: |
void computeBlockPreferredLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const; |
- // Obtains the nearest enclosing block (including this block) that contributes a first-line style to our inline |
- // children. |
- LayoutBlock* firstLineBlock() const override; |
- |
LayoutObject* hoverAncestor() const final; |
void updateDragState(bool dragOn) final; |
void childBecameNonInline(LayoutObject* child) final; |