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

Side by Side Diff: Source/core/svg/SVGFELightElement.h

Issue 22043002: Crash trying to render a SVGFEDistantLightElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « LayoutTests/svg/filters/feDistantLight-rendering-crash-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> 4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 25 matching lines...) Expand all
36 36
37 protected: 37 protected:
38 SVGFELightElement(const QualifiedName&, Document*); 38 SVGFELightElement(const QualifiedName&, Document*);
39 39
40 private: 40 private:
41 bool isSupportedAttribute(const QualifiedName&); 41 bool isSupportedAttribute(const QualifiedName&);
42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
43 virtual void svgAttributeChanged(const QualifiedName&); 43 virtual void svgAttributeChanged(const QualifiedName&);
44 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); 44 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0);
45 45
46 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE { return false; }
47
46 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFELightElement) 48 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFELightElement)
47 DECLARE_ANIMATED_NUMBER(Azimuth, azimuth) 49 DECLARE_ANIMATED_NUMBER(Azimuth, azimuth)
48 DECLARE_ANIMATED_NUMBER(Elevation, elevation) 50 DECLARE_ANIMATED_NUMBER(Elevation, elevation)
49 DECLARE_ANIMATED_NUMBER(X, x) 51 DECLARE_ANIMATED_NUMBER(X, x)
50 DECLARE_ANIMATED_NUMBER(Y, y) 52 DECLARE_ANIMATED_NUMBER(Y, y)
51 DECLARE_ANIMATED_NUMBER(Z, z) 53 DECLARE_ANIMATED_NUMBER(Z, z)
52 DECLARE_ANIMATED_NUMBER(PointsAtX, pointsAtX) 54 DECLARE_ANIMATED_NUMBER(PointsAtX, pointsAtX)
53 DECLARE_ANIMATED_NUMBER(PointsAtY, pointsAtY) 55 DECLARE_ANIMATED_NUMBER(PointsAtY, pointsAtY)
54 DECLARE_ANIMATED_NUMBER(PointsAtZ, pointsAtZ) 56 DECLARE_ANIMATED_NUMBER(PointsAtZ, pointsAtZ)
55 DECLARE_ANIMATED_NUMBER(SpecularExponent, specularExponent) 57 DECLARE_ANIMATED_NUMBER(SpecularExponent, specularExponent)
56 DECLARE_ANIMATED_NUMBER(LimitingConeAngle, limitingConeAngle) 58 DECLARE_ANIMATED_NUMBER(LimitingConeAngle, limitingConeAngle)
57 END_DECLARE_ANIMATED_PROPERTIES 59 END_DECLARE_ANIMATED_PROPERTIES
58 }; 60 };
59 61
60 } // namespace WebCore 62 } // namespace WebCore
61 63
62 #endif 64 #endif
OLDNEW
« no previous file with comments | « LayoutTests/svg/filters/feDistantLight-rendering-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698