OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> |
3 * Copyright (C) 2006 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006 Apple Inc. All rights reserved. |
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 FloatRect LayoutSVGInline::paintInvalidationRectInLocalCoordinates() const | 80 FloatRect LayoutSVGInline::paintInvalidationRectInLocalCoordinates() const |
81 { | 81 { |
82 if (const LayoutObject* object = LayoutSVGText::locateLayoutSVGTextAncestor(
this)) | 82 if (const LayoutObject* object = LayoutSVGText::locateLayoutSVGTextAncestor(
this)) |
83 return object->paintInvalidationRectInLocalCoordinates(); | 83 return object->paintInvalidationRectInLocalCoordinates(); |
84 | 84 |
85 return FloatRect(); | 85 return FloatRect(); |
86 } | 86 } |
87 | 87 |
88 LayoutRect LayoutSVGInline::clippedOverflowRectForPaintInvalidation(const Layout
BoxModelObject* paintInvalidationContainer, const PaintInvalidationState* paintI
nvalidationState) const | 88 LayoutRect LayoutSVGInline::clippedOverflowRectForPaintInvalidation(const Layout
BoxModelObject* paintInvalidationContainer, const PaintInvalidationState* paintI
nvalidationState) const |
89 { | 89 { |
90 return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(this, paint
InvalidationContainer, paintInvalidationState); | 90 return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this, pain
tInvalidationContainer, paintInvalidationState); |
91 } | 91 } |
92 | 92 |
93 void LayoutSVGInline::mapLocalToContainer(const LayoutBoxModelObject* paintInval
idationContainer, TransformState& transformState, MapCoordinatesFlags, bool* was
Fixed, const PaintInvalidationState* paintInvalidationState) const | 93 void LayoutSVGInline::mapLocalToContainer(const LayoutBoxModelObject* paintInval
idationContainer, TransformState& transformState, MapCoordinatesFlags, bool* was
Fixed, const PaintInvalidationState* paintInvalidationState) const |
94 { | 94 { |
95 SVGLayoutSupport::mapLocalToContainer(this, paintInvalidationContainer, tran
sformState, wasFixed, paintInvalidationState); | 95 SVGLayoutSupport::mapLocalToContainer(this, paintInvalidationContainer, tran
sformState, wasFixed, paintInvalidationState); |
96 } | 96 } |
97 | 97 |
98 const LayoutObject* LayoutSVGInline::pushMappingToContainer(const LayoutBoxModel
Object* ancestorToStopAt, LayoutGeometryMap& geometryMap) const | 98 const LayoutObject* LayoutSVGInline::pushMappingToContainer(const LayoutBoxModel
Object* ancestorToStopAt, LayoutGeometryMap& geometryMap) const |
99 { | 99 { |
100 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, geom
etryMap); | 100 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, geom
etryMap); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 LayoutInline::removeChild(child); | 144 LayoutInline::removeChild(child); |
145 return; | 145 return; |
146 } | 146 } |
147 Vector<SVGTextLayoutAttributes*, 2> affectedAttributes; | 147 Vector<SVGTextLayoutAttributes*, 2> affectedAttributes; |
148 textLayoutObject->subtreeChildWillBeRemoved(child, affectedAttributes); | 148 textLayoutObject->subtreeChildWillBeRemoved(child, affectedAttributes); |
149 LayoutInline::removeChild(child); | 149 LayoutInline::removeChild(child); |
150 textLayoutObject->subtreeChildWasRemoved(affectedAttributes); | 150 textLayoutObject->subtreeChildWasRemoved(affectedAttributes); |
151 } | 151 } |
152 | 152 |
153 } | 153 } |
OLD | NEW |