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

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

Issue 629073003: Simplify/cleanup {postApply,apply}Resource signatures (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 16 matching lines...) Expand all
27 #include "core/rendering/svg/RenderSVGResourceClipper.h" 27 #include "core/rendering/svg/RenderSVGResourceClipper.h"
28 #include "core/rendering/svg/RenderSVGResourceFilter.h" 28 #include "core/rendering/svg/RenderSVGResourceFilter.h"
29 #include "core/rendering/svg/RenderSVGResourceMasker.h" 29 #include "core/rendering/svg/RenderSVGResourceMasker.h"
30 #include "core/rendering/svg/RenderSVGResourceSolidColor.h" 30 #include "core/rendering/svg/RenderSVGResourceSolidColor.h"
31 #include "core/rendering/svg/SVGRenderSupport.h" 31 #include "core/rendering/svg/SVGRenderSupport.h"
32 #include "core/rendering/svg/SVGResources.h" 32 #include "core/rendering/svg/SVGResources.h"
33 #include "core/rendering/svg/SVGResourcesCache.h" 33 #include "core/rendering/svg/SVGResourcesCache.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 bool RenderSVGResource::applyResource(RenderObject*, RenderStyle*, GraphicsConte xt*&, unsigned short) 37 bool RenderSVGResource::applyResource(RenderObject*, RenderStyle*, GraphicsConte xt*, RenderSVGResourceModeFlags)
38 { 38 {
39 ASSERT_NOT_REACHED(); 39 ASSERT_NOT_REACHED();
40 return false; 40 return false;
41 } 41 }
42 42
43 RenderSVGResource* RenderSVGResource::requestPaintingResource(RenderSVGResourceM ode mode, RenderObject* object, const RenderStyle* style, bool& hasFallback) 43 RenderSVGResource* RenderSVGResource::requestPaintingResource(RenderSVGResourceM ode mode, RenderObject* object, const RenderStyle* style, bool& hasFallback)
44 { 44 {
45 ASSERT(object); 45 ASSERT(object);
46 ASSERT(style); 46 ASSERT(style);
47 47
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // This will process the rest of the ancestors. 197 // This will process the rest of the ancestors.
198 toRenderSVGResourceContainer(current)->removeAllClientsFromCache(); 198 toRenderSVGResourceContainer(current)->removeAllClientsFromCache();
199 break; 199 break;
200 } 200 }
201 201
202 current = current->parent(); 202 current = current->parent();
203 } 203 }
204 } 204 }
205 205
206 } 206 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698