| 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 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #include "core/dom/ElementTraversal.h" | 27 #include "core/dom/ElementTraversal.h" |
| 28 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 28 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
| 29 #include "platform/graphics/GraphicsContext.h" | 29 #include "platform/graphics/GraphicsContext.h" |
| 30 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" | 30 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" |
| 31 #include "platform/graphics/filters/SourceAlpha.h" | 31 #include "platform/graphics/filters/SourceAlpha.h" |
| 32 #include "platform/graphics/filters/SourceGraphic.h" | 32 #include "platform/graphics/filters/SourceGraphic.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 const RenderSVGResourceType RenderSVGResourceFilter::s_resourceType = FilterReso
urceType; | |
| 37 | |
| 38 RenderSVGResourceFilter::RenderSVGResourceFilter(SVGFilterElement* node) | 36 RenderSVGResourceFilter::RenderSVGResourceFilter(SVGFilterElement* node) |
| 39 : RenderSVGResourceContainer(node) | 37 : RenderSVGResourceContainer(node) |
| 40 { | 38 { |
| 41 } | 39 } |
| 42 | 40 |
| 43 RenderSVGResourceFilter::~RenderSVGResourceFilter() | 41 RenderSVGResourceFilter::~RenderSVGResourceFilter() |
| 44 { | 42 { |
| 45 } | 43 } |
| 46 | 44 |
| 47 void RenderSVGResourceFilter::destroy() | 45 void RenderSVGResourceFilter::destroy() |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 markAllClientLayersForInvalidation(); | 289 markAllClientLayersForInvalidation(); |
| 292 } | 290 } |
| 293 | 291 |
| 294 FloatRect RenderSVGResourceFilter::drawingRegion(RenderObject* object) const | 292 FloatRect RenderSVGResourceFilter::drawingRegion(RenderObject* object) const |
| 295 { | 293 { |
| 296 FilterData* filterData = m_filter.get(object); | 294 FilterData* filterData = m_filter.get(object); |
| 297 return filterData ? filterData->drawingRegion : FloatRect(); | 295 return filterData ? filterData->drawingRegion : FloatRect(); |
| 298 } | 296 } |
| 299 | 297 |
| 300 } | 298 } |
| OLD | NEW |