| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 | 72 |
| 73 FloatRect RenderSVGInline::strokeBoundingBox() const | 73 FloatRect RenderSVGInline::strokeBoundingBox() const |
| 74 { | 74 { |
| 75 if (const RenderObject* object = RenderSVGText::locateRenderSVGTextAncestor(
this)) | 75 if (const RenderObject* object = RenderSVGText::locateRenderSVGTextAncestor(
this)) |
| 76 return object->strokeBoundingBox(); | 76 return object->strokeBoundingBox(); |
| 77 | 77 |
| 78 return FloatRect(); | 78 return FloatRect(); |
| 79 } | 79 } |
| 80 | 80 |
| 81 FloatRect RenderSVGInline::repaintRectInLocalCoordinates() const | 81 FloatRect RenderSVGInline::paintInvalidationRectInLocalCoordinates() const |
| 82 { | 82 { |
| 83 if (const RenderObject* object = RenderSVGText::locateRenderSVGTextAncestor(
this)) | 83 if (const RenderObject* object = RenderSVGText::locateRenderSVGTextAncestor(
this)) |
| 84 return object->repaintRectInLocalCoordinates(); | 84 return object->paintInvalidationRectInLocalCoordinates(); |
| 85 | 85 |
| 86 return FloatRect(); | 86 return FloatRect(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 LayoutRect RenderSVGInline::clippedOverflowRectForRepaint(const RenderLayerModel
Object* repaintContainer) const | 89 LayoutRect RenderSVGInline::clippedOverflowRectForPaintInvalidation(const Render
LayerModelObject* paintInvalidationContainer) const |
| 90 { | 90 { |
| 91 return SVGRenderSupport::clippedOverflowRectForRepaint(this, repaintContaine
r); | 91 return SVGRenderSupport::clippedOverflowRectForRepaint(this, paintInvalidati
onContainer); |
| 92 } | 92 } |
| 93 | 93 |
| 94 void RenderSVGInline::computeFloatRectForRepaint(const RenderLayerModelObject* r
epaintContainer, FloatRect& repaintRect, bool fixed) const | 94 void RenderSVGInline::computeFloatRectForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, FloatRect& paintInvalidationRect, bool fixe
d) const |
| 95 { | 95 { |
| 96 SVGRenderSupport::computeFloatRectForRepaint(this, repaintContainer, repaint
Rect, fixed); | 96 SVGRenderSupport::computeFloatRectForRepaint(this, paintInvalidationContaine
r, paintInvalidationRect, fixed); |
| 97 } | 97 } |
| 98 | 98 |
| 99 void RenderSVGInline::mapLocalToContainer(const RenderLayerModelObject* repaintC
ontainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFixed) c
onst | 99 void RenderSVGInline::mapLocalToContainer(const RenderLayerModelObject* repaintC
ontainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFixed) c
onst |
| 100 { | 100 { |
| 101 SVGRenderSupport::mapLocalToContainer(this, repaintContainer, transformState
, wasFixed); | 101 SVGRenderSupport::mapLocalToContainer(this, repaintContainer, transformState
, wasFixed); |
| 102 } | 102 } |
| 103 | 103 |
| 104 const RenderObject* RenderSVGInline::pushMappingToContainer(const RenderLayerMod
elObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const | 104 const RenderObject* RenderSVGInline::pushMappingToContainer(const RenderLayerMod
elObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const |
| 105 { | 105 { |
| 106 return SVGRenderSupport::pushMappingToContainer(this, ancestorToStopAt, geom
etryMap); | 106 return SVGRenderSupport::pushMappingToContainer(this, ancestorToStopAt, geom
etryMap); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 RenderInline::removeChild(child); | 150 RenderInline::removeChild(child); |
| 151 return; | 151 return; |
| 152 } | 152 } |
| 153 Vector<SVGTextLayoutAttributes*, 2> affectedAttributes; | 153 Vector<SVGTextLayoutAttributes*, 2> affectedAttributes; |
| 154 textRenderer->subtreeChildWillBeRemoved(child, affectedAttributes); | 154 textRenderer->subtreeChildWillBeRemoved(child, affectedAttributes); |
| 155 RenderInline::removeChild(child); | 155 RenderInline::removeChild(child); |
| 156 textRenderer->subtreeChildWasRemoved(affectedAttributes); | 156 textRenderer->subtreeChildWasRemoved(affectedAttributes); |
| 157 } | 157 } |
| 158 | 158 |
| 159 } | 159 } |
| OLD | NEW |