| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
| 4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
| 5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights reserv
ed. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableRow || LayoutBox::isOfType(type); } | 120 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableRow || LayoutBox::isOfType(type); } |
| 121 | 121 |
| 122 void willBeRemovedFromTree() override; | 122 void willBeRemovedFromTree() override; |
| 123 | 123 |
| 124 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; | 124 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; |
| 125 void layout() override; | 125 void layout() override; |
| 126 | 126 |
| 127 DeprecatedPaintLayerType layerTypeRequired() const override | 127 DeprecatedPaintLayerType layerTypeRequired() const override |
| 128 { | 128 { |
| 129 if (hasTransformRelatedProperty() || hasHiddenBackface() || hasClipPath(
) || createsGroup() || style()->shouldCompositeForCurrentAnimations() || style()
->hasCompositorProxy()) | 129 if (hasTransformRelatedProperty() || hasHiddenBackface() || hasClipPath(
) || createsGroup() || style()->shouldCompositeForCurrentAnimations() || isStick
yPositioned() || style()->hasCompositorProxy()) |
| 130 return NormalDeprecatedPaintLayer; | 130 return NormalDeprecatedPaintLayer; |
| 131 | 131 |
| 132 if (hasOverflowClip()) | 132 if (hasOverflowClip()) |
| 133 return OverflowClipDeprecatedPaintLayer; | 133 return OverflowClipDeprecatedPaintLayer; |
| 134 | 134 |
| 135 return NoDeprecatedPaintLayer; | 135 return NoDeprecatedPaintLayer; |
| 136 } | 136 } |
| 137 | 137 |
| 138 void paint(const PaintInfo&, const LayoutPoint&) override; | 138 void paint(const PaintInfo&, const LayoutPoint&) override; |
| 139 | 139 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 inline LayoutTableRow* LayoutTableSection::lastRow() const | 173 inline LayoutTableRow* LayoutTableSection::lastRow() const |
| 174 { | 174 { |
| 175 ASSERT(children() == virtualChildren()); | 175 ASSERT(children() == virtualChildren()); |
| 176 return toLayoutTableRow(children()->lastChild()); | 176 return toLayoutTableRow(children()->lastChild()); |
| 177 } | 177 } |
| 178 | 178 |
| 179 } // namespace blink | 179 } // namespace blink |
| 180 | 180 |
| 181 #endif // LayoutTableRow_h | 181 #endif // LayoutTableRow_h |
| OLD | NEW |