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

Side by Side Diff: Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.h

Issue 135563002: Update remaining rendering classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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) 2010 University of Szeged 2 * Copyright (C) 2010 University of Szeged
3 * Copyright (C) 2010 Zoltan Herczeg 3 * Copyright (C) 2010 Zoltan Herczeg
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 20 matching lines...) Expand all
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class RenderSVGResourceFilterPrimitive FINAL : public RenderSVGHiddenContainer { 34 class RenderSVGResourceFilterPrimitive FINAL : public RenderSVGHiddenContainer {
35 public: 35 public:
36 explicit RenderSVGResourceFilterPrimitive(SVGElement* filterPrimitiveElement ) 36 explicit RenderSVGResourceFilterPrimitive(SVGElement* filterPrimitiveElement )
37 : RenderSVGHiddenContainer(filterPrimitiveElement) 37 : RenderSVGHiddenContainer(filterPrimitiveElement)
38 { 38 {
39 } 39 }
40 40
41 virtual void styleDidChange(StyleDifference, const RenderStyle*); 41 virtual void styleDidChange(StyleDifference, const RenderStyle*) OVERRIDE;
42 42
43 virtual const char* renderName() const { return "RenderSVGResourceFilterPrim itive"; } 43 virtual const char* renderName() const OVERRIDE { return "RenderSVGResourceF ilterPrimitive"; }
44 virtual bool isSVGResourceFilterPrimitive() const { return true; } 44 virtual bool isSVGResourceFilterPrimitive() const OVERRIDE { return true; }
45 45
46 inline void primitiveAttributeChanged(const QualifiedName& attribute) 46 inline void primitiveAttributeChanged(const QualifiedName& attribute)
47 { 47 {
48 RenderObject* filter = parent(); 48 RenderObject* filter = parent();
49 if (!filter || !filter->isSVGResourceFilter()) 49 if (!filter || !filter->isSVGResourceFilter())
50 return; 50 return;
51 toRenderSVGResourceFilter(filter)->primitiveAttributeChanged(this, attri bute); 51 toRenderSVGResourceFilter(filter)->primitiveAttributeChanged(this, attri bute);
52 } 52 }
53 }; 53 };
54 54
55 } // namespace WebCore 55 } // namespace WebCore
56 56
57 #endif // RenderSVGResourceFilterPrimitive_h 57 #endif // RenderSVGResourceFilterPrimitive_h
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