Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutBox.h |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h |
| index 631a6a150e246bb2782e63120f5c84cdc5600211..45ec9119d4b5a2c40fab6d75210fd304939d5bb8 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
| @@ -201,7 +201,6 @@ public: |
| // Use this with caution! No type checking is done! |
| LayoutBox* firstChildBox() const; |
| - LayoutBox* firstInFlowChildBox() const; |
| LayoutBox* lastChildBox() const; |
| int pixelSnappedWidth() const { return m_frameRect.pixelSnappedWidth(); } |
| @@ -1183,14 +1182,6 @@ inline LayoutBox* LayoutBox::firstChildBox() const |
| return toLayoutBox(slowFirstChild()); |
| } |
| -inline LayoutBox* LayoutBox::firstInFlowChildBox() const |
|
jfernandez
2016/07/22 11:26:37
Why this removal ?
Manuel Rego
2016/07/22 13:05:37
Because it was introduced to be able to call
perce
|
| -{ |
| - LayoutBox* child = firstChildBox(); |
| - while (child && child->isOutOfFlowPositioned()) |
| - child = child->nextSiblingBox(); |
| - return child; |
| -} |
| - |
| inline LayoutBox* LayoutBox::lastChildBox() const |
| { |
| return toLayoutBox(slowLastChild()); |