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 17 matching lines...) Expand all Loading... |
28 #include "core/frame/LocalFrame.h" | 28 #include "core/frame/LocalFrame.h" |
29 #include "core/rendering/svg/RenderSVGResourceClipper.h" | 29 #include "core/rendering/svg/RenderSVGResourceClipper.h" |
30 #include "core/rendering/svg/RenderSVGResourceFilter.h" | 30 #include "core/rendering/svg/RenderSVGResourceFilter.h" |
31 #include "core/rendering/svg/RenderSVGResourceMasker.h" | 31 #include "core/rendering/svg/RenderSVGResourceMasker.h" |
32 #include "core/rendering/svg/RenderSVGResourceSolidColor.h" | 32 #include "core/rendering/svg/RenderSVGResourceSolidColor.h" |
33 #include "core/rendering/svg/SVGResources.h" | 33 #include "core/rendering/svg/SVGResources.h" |
34 #include "core/rendering/svg/SVGResourcesCache.h" | 34 #include "core/rendering/svg/SVGResourcesCache.h" |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
| 38 bool RenderSVGResource::applyResource(RenderObject*, RenderStyle*, GraphicsConte
xt*&, unsigned short) |
| 39 { |
| 40 ASSERT_NOT_REACHED(); |
| 41 return false; |
| 42 } |
| 43 |
38 RenderSVGResource* RenderSVGResource::requestPaintingResource(RenderSVGResourceM
ode mode, RenderObject* object, const RenderStyle* style, bool& hasFallback) | 44 RenderSVGResource* RenderSVGResource::requestPaintingResource(RenderSVGResourceM
ode mode, RenderObject* object, const RenderStyle* style, bool& hasFallback) |
39 { | 45 { |
40 ASSERT(object); | 46 ASSERT(object); |
41 ASSERT(style); | 47 ASSERT(style); |
42 | 48 |
43 hasFallback = false; | 49 hasFallback = false; |
44 | 50 |
45 // If we have no style at all, ignore it. | 51 // If we have no style at all, ignore it. |
46 const SVGRenderStyle& svgStyle = style->svgStyle(); | 52 const SVGRenderStyle& svgStyle = style->svgStyle(); |
47 | 53 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 // This will process the rest of the ancestors. | 200 // This will process the rest of the ancestors. |
195 toRenderSVGResourceContainer(current)->removeAllClientsFromCache(); | 201 toRenderSVGResourceContainer(current)->removeAllClientsFromCache(); |
196 break; | 202 break; |
197 } | 203 } |
198 | 204 |
199 current = current->parent(); | 205 current = current->parent(); |
200 } | 206 } |
201 } | 207 } |
202 | 208 |
203 } | 209 } |
OLD | NEW |