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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 SVGResourcesCache::clientWillBeRemovedFromTree(child); | 142 SVGResourcesCache::clientWillBeRemovedFromTree(child); |
143 | 143 |
144 if (LayoutSVGText* textLayoutObject = | 144 if (LayoutSVGText* textLayoutObject = |
145 LayoutSVGText::locateLayoutSVGTextAncestor(this)) | 145 LayoutSVGText::locateLayoutSVGTextAncestor(this)) |
146 textLayoutObject->subtreeChildWillBeRemoved(); | 146 textLayoutObject->subtreeChildWillBeRemoved(); |
147 LayoutInline::removeChild(child); | 147 LayoutInline::removeChild(child); |
148 } | 148 } |
149 | 149 |
150 void LayoutSVGInline::invalidateTreeIfNeeded( | 150 void LayoutSVGInline::invalidateTreeIfNeeded( |
151 const PaintInvalidationState& paintInvalidationState) { | 151 const PaintInvalidationState& paintInvalidationState) { |
152 // TODO(wangxianzhu): Verify if the inherited LayoutBoxModelObject::invalidate
TreeIfNeeded() | 152 // TODO(wangxianzhu): Verify if the inherited |
153 // is applicable here. If yes, remove this overriding method. | 153 // LayoutBoxModelObject::invalidateTreeIfNeeded() is applicable here. |
| 154 // If yes, remove this overriding method. |
154 LayoutObject::invalidateTreeIfNeeded(paintInvalidationState); | 155 LayoutObject::invalidateTreeIfNeeded(paintInvalidationState); |
155 } | 156 } |
156 | 157 |
157 } // namespace blink | 158 } // namespace blink |
OLD | NEW |