| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 } | 118 } |
| 119 | 119 |
| 120 void RenderSVGInline::willBeDestroyed() | 120 void RenderSVGInline::willBeDestroyed() |
| 121 { | 121 { |
| 122 SVGResourcesCache::clientDestroyed(this); | 122 SVGResourcesCache::clientDestroyed(this); |
| 123 RenderInline::willBeDestroyed(); | 123 RenderInline::willBeDestroyed(); |
| 124 } | 124 } |
| 125 | 125 |
| 126 void RenderSVGInline::styleDidChange(StyleDifference diff, const RenderStyle* ol
dStyle) | 126 void RenderSVGInline::styleDidChange(StyleDifference diff, const RenderStyle* ol
dStyle) |
| 127 { | 127 { |
| 128 if (diff == StyleDifferenceLayout) | 128 if (diff.needsFullLayout()) |
| 129 setNeedsBoundariesUpdate(); | 129 setNeedsBoundariesUpdate(); |
| 130 | 130 |
| 131 RenderInline::styleDidChange(diff, oldStyle); | 131 RenderInline::styleDidChange(diff, oldStyle); |
| 132 SVGResourcesCache::clientStyleChanged(this, diff, style()); | 132 SVGResourcesCache::clientStyleChanged(this, diff, style()); |
| 133 } | 133 } |
| 134 | 134 |
| 135 void RenderSVGInline::addChild(RenderObject* child, RenderObject* beforeChild) | 135 void RenderSVGInline::addChild(RenderObject* child, RenderObject* beforeChild) |
| 136 { | 136 { |
| 137 RenderInline::addChild(child, beforeChild); | 137 RenderInline::addChild(child, beforeChild); |
| 138 SVGResourcesCache::clientWasAddedToTree(child, child->style()); | 138 SVGResourcesCache::clientWasAddedToTree(child, child->style()); |
| (...skipping 11 matching lines...) Expand all 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 |