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

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

Issue 17045008: HashSet: reverse the order of the template arguments at alternate 'find', 'contains' and 'add' meth… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 supportedAttributes.add(SVGNames::elevationAttr); 92 supportedAttributes.add(SVGNames::elevationAttr);
93 supportedAttributes.add(SVGNames::xAttr); 93 supportedAttributes.add(SVGNames::xAttr);
94 supportedAttributes.add(SVGNames::yAttr); 94 supportedAttributes.add(SVGNames::yAttr);
95 supportedAttributes.add(SVGNames::zAttr); 95 supportedAttributes.add(SVGNames::zAttr);
96 supportedAttributes.add(SVGNames::pointsAtXAttr); 96 supportedAttributes.add(SVGNames::pointsAtXAttr);
97 supportedAttributes.add(SVGNames::pointsAtYAttr); 97 supportedAttributes.add(SVGNames::pointsAtYAttr);
98 supportedAttributes.add(SVGNames::pointsAtZAttr); 98 supportedAttributes.add(SVGNames::pointsAtZAttr);
99 supportedAttributes.add(SVGNames::specularExponentAttr); 99 supportedAttributes.add(SVGNames::specularExponentAttr);
100 supportedAttributes.add(SVGNames::limitingConeAngleAttr); 100 supportedAttributes.add(SVGNames::limitingConeAngleAttr);
101 } 101 }
102 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslato r>(attrName); 102 return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName);
103 } 103 }
104 104
105 void SVGFELightElement::parseAttribute(const QualifiedName& name, const AtomicSt ring& value) 105 void SVGFELightElement::parseAttribute(const QualifiedName& name, const AtomicSt ring& value)
106 { 106 {
107 if (!isSupportedAttribute(name)) { 107 if (!isSupportedAttribute(name)) {
108 SVGElement::parseAttribute(name, value); 108 SVGElement::parseAttribute(name, value);
109 return; 109 return;
110 } 110 }
111 111
112 if (name == SVGNames::azimuthAttr) { 112 if (name == SVGNames::azimuthAttr) {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 if (!changedByParser) { 210 if (!changedByParser) {
211 if (ContainerNode* parent = parentNode()) { 211 if (ContainerNode* parent = parentNode()) {
212 RenderObject* renderer = parent->renderer(); 212 RenderObject* renderer = parent->renderer();
213 if (renderer && renderer->isSVGResourceFilterPrimitive()) 213 if (renderer && renderer->isSVGResourceFilterPrimitive())
214 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer); 214 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer);
215 } 215 }
216 } 216 }
217 } 217 }
218 218
219 } 219 }
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