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

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

Issue 694283002: Const-ify static s_resourceType members in RenderSVGResouce* classes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceFilter.h ('k') | Source/core/rendering/svg/RenderSVGResourceLinearGradient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698