Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: Source/core/rendering/svg/RenderSVGResource.cpp

Issue 622393002: Introduce new entry-points for non-paint-server RenderSVGResources (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResource.h ('k') | Source/core/rendering/svg/RenderSVGResourceClipper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698