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

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

Issue 268223003: Move InvalidationGuard/InstanceUpdateBlocker out of SVGElementInstance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Perform the renames Created 6 years, 7 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
« 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 reportAttributeParsingError(parseError, name, value); 123 reportAttributeParsingError(parseError, name, value);
124 } 124 }
125 125
126 void SVGFELightElement::svgAttributeChanged(const QualifiedName& attrName) 126 void SVGFELightElement::svgAttributeChanged(const QualifiedName& attrName)
127 { 127 {
128 if (!isSupportedAttribute(attrName)) { 128 if (!isSupportedAttribute(attrName)) {
129 SVGElement::svgAttributeChanged(attrName); 129 SVGElement::svgAttributeChanged(attrName);
130 return; 130 return;
131 } 131 }
132 132
133 SVGElementInstance::InvalidationGuard invalidationGuard(this); 133 SVGElement::InvalidationGuard invalidationGuard(this);
134 134
135 if (attrName == SVGNames::azimuthAttr 135 if (attrName == SVGNames::azimuthAttr
136 || attrName == SVGNames::elevationAttr 136 || attrName == SVGNames::elevationAttr
137 || attrName == SVGNames::xAttr 137 || attrName == SVGNames::xAttr
138 || attrName == SVGNames::yAttr 138 || attrName == SVGNames::yAttr
139 || attrName == SVGNames::zAttr 139 || attrName == SVGNames::zAttr
140 || attrName == SVGNames::pointsAtXAttr 140 || attrName == SVGNames::pointsAtXAttr
141 || attrName == SVGNames::pointsAtYAttr 141 || attrName == SVGNames::pointsAtYAttr
142 || attrName == SVGNames::pointsAtZAttr 142 || attrName == SVGNames::pointsAtZAttr
143 || attrName == SVGNames::specularExponentAttr 143 || attrName == SVGNames::specularExponentAttr
(...skipping 26 matching lines...) Expand all
170 if (!changedByParser) { 170 if (!changedByParser) {
171 if (ContainerNode* parent = parentNode()) { 171 if (ContainerNode* parent = parentNode()) {
172 RenderObject* renderer = parent->renderer(); 172 RenderObject* renderer = parent->renderer();
173 if (renderer && renderer->isSVGResourceFilterPrimitive()) 173 if (renderer && renderer->isSVGResourceFilterPrimitive())
174 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer); 174 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer);
175 } 175 }
176 } 176 }
177 } 177 }
178 178
179 } 179 }
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