| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 InlineBox* lastChild() const { checkConsistency(); return m_lastChild; } | 89 InlineBox* lastChild() const { checkConsistency(); return m_lastChild; } |
| 90 | 90 |
| 91 bool isLeaf() const final { return false; } | 91 bool isLeaf() const final { return false; } |
| 92 | 92 |
| 93 InlineBox* firstLeafChild() const; | 93 InlineBox* firstLeafChild() const; |
| 94 InlineBox* lastLeafChild() const; | 94 InlineBox* lastLeafChild() const; |
| 95 | 95 |
| 96 typedef void (*CustomInlineBoxRangeReverse)(Vector<InlineBox*>::iterator fir
st, Vector<InlineBox*>::iterator last); | 96 typedef void (*CustomInlineBoxRangeReverse)(Vector<InlineBox*>::iterator fir
st, Vector<InlineBox*>::iterator last); |
| 97 void collectLeafBoxesInLogicalOrder(Vector<InlineBox*>&, CustomInlineBoxRang
eReverse customReverseImplementation = 0) const; | 97 void collectLeafBoxesInLogicalOrder(Vector<InlineBox*>&, CustomInlineBoxRang
eReverse customReverseImplementation = 0) const; |
| 98 | 98 |
| 99 DISABLE_CFI_PERF |
| 99 void setConstructed() final | 100 void setConstructed() final |
| 100 { | 101 { |
| 101 InlineBox::setConstructed(); | 102 InlineBox::setConstructed(); |
| 102 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()
) | 103 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()
) |
| 103 child->setConstructed(); | 104 child->setConstructed(); |
| 104 } | 105 } |
| 105 | 106 |
| 106 void addToLine(InlineBox* child); | 107 void addToLine(InlineBox* child); |
| 107 void deleteLine() final; | 108 void deleteLine() final; |
| 108 void extractLine() final; | 109 void extractLine() final; |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 inline void InlineFlowBox::setHasBadChildList() | 368 inline void InlineFlowBox::setHasBadChildList() |
| 368 { | 369 { |
| 369 #if ENABLE(ASSERT) | 370 #if ENABLE(ASSERT) |
| 370 m_hasBadChildList = true; | 371 m_hasBadChildList = true; |
| 371 #endif | 372 #endif |
| 372 } | 373 } |
| 373 | 374 |
| 374 } // namespace blink | 375 } // namespace blink |
| 375 | 376 |
| 376 #endif // InlineFlowBox_h | 377 #endif // InlineFlowBox_h |
| OLD | NEW |