| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 102 |
| 103 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTableRow || LayoutBox::isOfType(type); } | 103 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTableRow || LayoutBox::isOfType(type); } |
| 104 | 104 |
| 105 virtual void willBeRemovedFromTree() override; | 105 virtual void willBeRemovedFromTree() override; |
| 106 | 106 |
| 107 virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) ov
erride; | 107 virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) ov
erride; |
| 108 virtual void layout() override; | 108 virtual void layout() override; |
| 109 | 109 |
| 110 virtual DeprecatedPaintLayerType layerTypeRequired() const override | 110 virtual DeprecatedPaintLayerType layerTypeRequired() const override |
| 111 { | 111 { |
| 112 if (hasTransformRelatedProperty() || hasHiddenBackface() || hasClipPath(
) || createsGroup() || style()->shouldCompositeForCurrentAnimations()) | 112 if (hasTransformRelatedProperty() || hasHiddenBackface() || hasClipPath(
) || createsGroup() || style()->shouldCompositeForCurrentAnimations() || style()
->hasCompositorProxy()) |
| 113 return NormalDeprecatedPaintLayer; | 113 return NormalDeprecatedPaintLayer; |
| 114 | 114 |
| 115 if (hasOverflowClip()) | 115 if (hasOverflowClip()) |
| 116 return OverflowClipDeprecatedPaintLayer; | 116 return OverflowClipDeprecatedPaintLayer; |
| 117 | 117 |
| 118 return NoDeprecatedPaintLayer; | 118 return NoDeprecatedPaintLayer; |
| 119 } | 119 } |
| 120 | 120 |
| 121 virtual void paint(const PaintInfo&, const LayoutPoint&) override; | 121 virtual void paint(const PaintInfo&, const LayoutPoint&) override; |
| 122 | 122 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 151 | 151 |
| 152 inline LayoutTableRow* LayoutTableSection::lastRow() const | 152 inline LayoutTableRow* LayoutTableSection::lastRow() const |
| 153 { | 153 { |
| 154 ASSERT(children() == virtualChildren()); | 154 ASSERT(children() == virtualChildren()); |
| 155 return toLayoutTableRow(children()->lastChild()); | 155 return toLayoutTableRow(children()->lastChild()); |
| 156 } | 156 } |
| 157 | 157 |
| 158 } // namespace blink | 158 } // namespace blink |
| 159 | 159 |
| 160 #endif // LayoutTableRow_h | 160 #endif // LayoutTableRow_h |
| OLD | NEW |