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

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

Issue 177803003: [SVG] Make all C-macros used in the old property implementation NOOP. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: styles Created 6 years, 9 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 | « Source/core/svg/SVGFEImageElement.cpp ('k') | Source/core/svg/SVGFEMergeNodeElement.cpp » ('j') | 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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 addToPropertyMap(m_azimuth); 52 addToPropertyMap(m_azimuth);
53 addToPropertyMap(m_elevation); 53 addToPropertyMap(m_elevation);
54 addToPropertyMap(m_x); 54 addToPropertyMap(m_x);
55 addToPropertyMap(m_y); 55 addToPropertyMap(m_y);
56 addToPropertyMap(m_z); 56 addToPropertyMap(m_z);
57 addToPropertyMap(m_pointsAtX); 57 addToPropertyMap(m_pointsAtX);
58 addToPropertyMap(m_pointsAtY); 58 addToPropertyMap(m_pointsAtY);
59 addToPropertyMap(m_pointsAtZ); 59 addToPropertyMap(m_pointsAtZ);
60 addToPropertyMap(m_specularExponent); 60 addToPropertyMap(m_specularExponent);
61 addToPropertyMap(m_limitingConeAngle); 61 addToPropertyMap(m_limitingConeAngle);
62 registerAnimatedPropertiesForSVGFELightElement();
63 } 62 }
64 63
65 SVGFELightElement* SVGFELightElement::findLightElement(const SVGElement* svgElem ent) 64 SVGFELightElement* SVGFELightElement::findLightElement(const SVGElement* svgElem ent)
66 { 65 {
67 for (Node* node = svgElement->firstChild(); node; node = node->nextSibling() ) { 66 for (Node* node = svgElement->firstChild(); node; node = node->nextSibling() ) {
68 if (isSVGFELightElement(*node)) 67 if (isSVGFELightElement(*node))
69 return toSVGFELightElement(node); 68 return toSVGFELightElement(node);
70 } 69 }
71 return 0; 70 return 0;
72 } 71 }
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 if (!changedByParser) { 177 if (!changedByParser) {
179 if (ContainerNode* parent = parentNode()) { 178 if (ContainerNode* parent = parentNode()) {
180 RenderObject* renderer = parent->renderer(); 179 RenderObject* renderer = parent->renderer();
181 if (renderer && renderer->isSVGResourceFilterPrimitive()) 180 if (renderer && renderer->isSVGResourceFilterPrimitive())
182 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer); 181 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer);
183 } 182 }
184 } 183 }
185 } 184 }
186 185
187 } 186 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFEImageElement.cpp ('k') | Source/core/svg/SVGFEMergeNodeElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698