| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> | 4 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> |
| 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 removeFromCacheAndInvalidateDependencies(object, needsLayout); | 197 removeFromCacheAndInvalidateDependencies(object, needsLayout); |
| 198 | 198 |
| 199 // Invalidate resources in ancestor chain, if needed. | 199 // Invalidate resources in ancestor chain, if needed. |
| 200 RenderObject* current = object->parent(); | 200 RenderObject* current = object->parent(); |
| 201 while (current) { | 201 while (current) { |
| 202 removeFromCacheAndInvalidateDependencies(current, needsLayout); | 202 removeFromCacheAndInvalidateDependencies(current, needsLayout); |
| 203 | 203 |
| 204 if (current->isSVGResourceContainer()) { | 204 if (current->isSVGResourceContainer()) { |
| 205 // This will process the rest of the ancestors. | 205 // This will process the rest of the ancestors. |
| 206 current->toRenderSVGResourceContainer()->removeAllClientsFromCache()
; | 206 toRenderSVGResourceContainer(current)->removeAllClientsFromCache(); |
| 207 break; | 207 break; |
| 208 } | 208 } |
| 209 | 209 |
| 210 current = current->parent(); | 210 current = current->parent(); |
| 211 } | 211 } |
| 212 } | 212 } |
| 213 | 213 |
| 214 } | 214 } |
| OLD | NEW |