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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); 143 SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName);
144 } 144 }
145 145
146 void SVGFESpecularLightingElement::lightElementAttributeChanged( 146 void SVGFESpecularLightingElement::lightElementAttributeChanged(
147 const SVGFELightElement* lightElement, 147 const SVGFELightElement* lightElement,
148 const QualifiedName& attrName) { 148 const QualifiedName& attrName) {
149 if (SVGFELightElement::findLightElement(*this) != lightElement) 149 if (SVGFELightElement::findLightElement(*this) != lightElement)
150 return; 150 return;
151 151
152 // The light element has different attribute names so attrName can identify th e requested attribute. 152 // The light element has different attribute names so attrName can identify
153 // the requested attribute.
153 primitiveAttributeChanged(attrName); 154 primitiveAttributeChanged(attrName);
154 } 155 }
155 156
156 FilterEffect* SVGFESpecularLightingElement::build( 157 FilterEffect* SVGFESpecularLightingElement::build(
157 SVGFilterBuilder* filterBuilder, 158 SVGFilterBuilder* filterBuilder,
158 Filter* filter) { 159 Filter* filter) {
159 FilterEffect* input1 = filterBuilder->getEffectById( 160 FilterEffect* input1 = filterBuilder->getEffectById(
160 AtomicString(m_in1->currentValue()->value())); 161 AtomicString(m_in1->currentValue()->value()));
161 ASSERT(input1); 162 ASSERT(input1);
162 163
(...skipping 11 matching lines...) Expand all
174 175
175 FilterEffect* effect = FESpecularLighting::create( 176 FilterEffect* effect = FESpecularLighting::create(
176 filter, color, m_surfaceScale->currentValue()->value(), 177 filter, color, m_surfaceScale->currentValue()->value(),
177 m_specularConstant->currentValue()->value(), 178 m_specularConstant->currentValue()->value(),
178 m_specularExponent->currentValue()->value(), lightSource.release()); 179 m_specularExponent->currentValue()->value(), lightSource.release());
179 effect->inputEffects().append(input1); 180 effect->inputEffects().append(input1);
180 return effect; 181 return effect;
181 } 182 }
182 183
183 } // namespace blink 184 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGFilterElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698