OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 RenderSVGResourceFilter::RenderSVGResourceFilter(SVGFilterElement* node) | 45 RenderSVGResourceFilter::RenderSVGResourceFilter(SVGFilterElement* node) |
46 : RenderSVGResourceContainer(node) | 46 : RenderSVGResourceContainer(node) |
47 { | 47 { |
48 } | 48 } |
49 | 49 |
50 RenderSVGResourceFilter::~RenderSVGResourceFilter() | 50 RenderSVGResourceFilter::~RenderSVGResourceFilter() |
51 { | 51 { |
52 } | 52 } |
53 | 53 |
54 void RenderSVGResourceFilter::trace(Visitor* visitor) | |
55 { | |
56 #if ENABLE(OILPAN) | |
57 visitor->trace(m_filter); | |
58 #endif | |
59 RenderSVGResourceContainer::trace(visitor); | |
60 } | |
61 | |
62 void RenderSVGResourceFilter::destroy() | 54 void RenderSVGResourceFilter::destroy() |
63 { | 55 { |
64 m_filter.clear(); | 56 m_filter.clear(); |
65 RenderSVGResourceContainer::destroy(); | 57 RenderSVGResourceContainer::destroy(); |
66 } | 58 } |
67 | 59 |
68 bool RenderSVGResourceFilter::isChildAllowed(RenderObject* child, RenderStyle*)
const | 60 bool RenderSVGResourceFilter::isChildAllowed(RenderObject* child, RenderStyle*)
const |
69 { | 61 { |
70 return child->isSVGResourceFilterPrimitive(); | 62 return child->isSVGResourceFilterPrimitive(); |
71 } | 63 } |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 return; | 284 return; |
293 builder->clearResultsRecursive(effect); | 285 builder->clearResultsRecursive(effect); |
294 | 286 |
295 // Issue paint invalidations for the image on the screen. | 287 // Issue paint invalidations for the image on the screen. |
296 markClientForInvalidation(it->key, PaintInvalidation); | 288 markClientForInvalidation(it->key, PaintInvalidation); |
297 } | 289 } |
298 markAllClientLayersForInvalidation(); | 290 markAllClientLayersForInvalidation(); |
299 } | 291 } |
300 | 292 |
301 } | 293 } |
OLD | NEW |