| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 150 |
| 151 InlineBox* closestLeafChildForPoint(const LayoutPoint&, | 151 InlineBox* closestLeafChildForPoint(const LayoutPoint&, |
| 152 bool onlyEditableLeaves); | 152 bool onlyEditableLeaves); |
| 153 InlineBox* closestLeafChildForLogicalLeftPosition( | 153 InlineBox* closestLeafChildForLogicalLeftPosition( |
| 154 LayoutUnit, | 154 LayoutUnit, |
| 155 bool onlyEditableLeaves = false); | 155 bool onlyEditableLeaves = false); |
| 156 | 156 |
| 157 void appendFloat(LayoutBox* floatingBox) { | 157 void appendFloat(LayoutBox* floatingBox) { |
| 158 ASSERT(!isDirty()); | 158 ASSERT(!isDirty()); |
| 159 if (m_floats) | 159 if (m_floats) |
| 160 m_floats->append(floatingBox); | 160 m_floats->push_back(floatingBox); |
| 161 else | 161 else |
| 162 m_floats = WTF::wrapUnique(new Vector<LayoutBox*>(1, floatingBox)); | 162 m_floats = WTF::wrapUnique(new Vector<LayoutBox*>(1, floatingBox)); |
| 163 } | 163 } |
| 164 | 164 |
| 165 Vector<LayoutBox*>* floatsPtr() { | 165 Vector<LayoutBox*>* floatsPtr() { |
| 166 ASSERT(!isDirty()); | 166 ASSERT(!isDirty()); |
| 167 return m_floats.get(); | 167 return m_floats.get(); |
| 168 } | 168 } |
| 169 | 169 |
| 170 void extractLineBoxFromLayoutObject() final; | 170 void extractLineBoxFromLayoutObject() final; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 LayoutUnit m_lineBottom; | 230 LayoutUnit m_lineBottom; |
| 231 LayoutUnit m_lineTopWithLeading; | 231 LayoutUnit m_lineTopWithLeading; |
| 232 LayoutUnit m_lineBottomWithLeading; | 232 LayoutUnit m_lineBottomWithLeading; |
| 233 LayoutUnit m_selectionBottom; | 233 LayoutUnit m_selectionBottom; |
| 234 LayoutUnit m_paginationStrut; | 234 LayoutUnit m_paginationStrut; |
| 235 }; | 235 }; |
| 236 | 236 |
| 237 } // namespace blink | 237 } // namespace blink |
| 238 | 238 |
| 239 #endif // RootInlineBox_h | 239 #endif // RootInlineBox_h |
| OLD | NEW |