| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All r
ights 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 , m_prev(nullptr) | 47 , m_prev(nullptr) |
| 48 , m_parent(nullptr) | 48 , m_parent(nullptr) |
| 49 , m_layoutObject(obj) | 49 , m_layoutObject(obj) |
| 50 , m_logicalWidth() | 50 , m_logicalWidth() |
| 51 #if ENABLE(ASSERT) | 51 #if ENABLE(ASSERT) |
| 52 , m_hasBadParent(false) | 52 , m_hasBadParent(false) |
| 53 #endif | 53 #endif |
| 54 { | 54 { |
| 55 } | 55 } |
| 56 | 56 |
| 57 InlineBox(LayoutObject& obj, LayoutPoint topLeft, LayoutUnit logicalWidth, b
ool firstLine, bool constructed, | 57 InlineBox(InlineBox* inlineBoxForLayoutObject, LayoutPoint topLeft, LayoutUn
it logicalWidth, bool firstLine, bool constructed, |
| 58 bool dirty, bool extracted, bool isHorizontal, InlineBox* next, InlineBo
x* prev, InlineFlowBox* parent) | 58 bool dirty, bool extracted, bool isHorizontal, InlineBox* next, InlineBo
x* prev, InlineFlowBox* parent) |
| 59 : m_next(next) | 59 : m_next(next) |
| 60 , m_prev(prev) | 60 , m_prev(prev) |
| 61 , m_parent(parent) | 61 , m_parent(parent) |
| 62 , m_layoutObject(obj) | 62 , m_layoutObject(inlineBoxForLayoutObject->layoutObject()) |
| 63 , m_topLeft(topLeft) | 63 , m_topLeft(topLeft) |
| 64 , m_logicalWidth(logicalWidth) | 64 , m_logicalWidth(logicalWidth) |
| 65 , m_bitfields(firstLine, constructed, dirty, extracted, isHorizontal) | 65 , m_bitfields(firstLine, constructed, dirty, extracted, isHorizontal) |
| 66 #if ENABLE(ASSERT) | 66 #if ENABLE(ASSERT) |
| 67 , m_hasBadParent(false) | 67 , m_hasBadParent(false) |
| 68 #endif | 68 #endif |
| 69 { | 69 { |
| 70 } | 70 } |
| 71 | 71 |
| 72 virtual ~InlineBox(); | 72 virtual ~InlineBox(); |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 | 454 |
| 455 } // namespace blink | 455 } // namespace blink |
| 456 | 456 |
| 457 #ifndef NDEBUG | 457 #ifndef NDEBUG |
| 458 // Outside the WebCore namespace for ease of invocation from gdb. | 458 // Outside the WebCore namespace for ease of invocation from gdb. |
| 459 void showTree(const blink::InlineBox*); | 459 void showTree(const blink::InlineBox*); |
| 460 void showLineTree(const blink::InlineBox*); | 460 void showLineTree(const blink::InlineBox*); |
| 461 #endif | 461 #endif |
| 462 | 462 |
| 463 #endif // InlineBox_h | 463 #endif // InlineBox_h |
| OLD | NEW |