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

Unified Diff: Source/core/svg/SVGFESpecularLightingElement.cpp

Issue 1118133003: Rename rendering in core/svg. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGFELightElement.cpp ('k') | Source/core/svg/SVGFilterElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFESpecularLightingElement.cpp
diff --git a/Source/core/svg/SVGFESpecularLightingElement.cpp b/Source/core/svg/SVGFESpecularLightingElement.cpp
index f4fbd7cb3b9bb01c0cb5354084b334556abf1058..9f3d5bd96402dc18a700aa2c74ea0a2bd1e3df08 100644
--- a/Source/core/svg/SVGFESpecularLightingElement.cpp
+++ b/Source/core/svg/SVGFESpecularLightingElement.cpp
@@ -62,10 +62,10 @@ bool SVGFESpecularLightingElement::setFilterEffectAttribute(FilterEffect* effect
FESpecularLighting* specularLighting = static_cast<FESpecularLighting*>(effect);
if (attrName == SVGNames::lighting_colorAttr) {
- LayoutObject* renderer = this->layoutObject();
- ASSERT(renderer);
- ASSERT(renderer->style());
- return specularLighting->setLightingColor(renderer->style()->svgStyle().lightingColor());
+ LayoutObject* layoutObject = this->layoutObject();
+ ASSERT(layoutObject);
+ ASSERT(layoutObject->style());
+ return specularLighting->setLightingColor(layoutObject->style()->svgStyle().lightingColor());
}
if (attrName == SVGNames::surfaceScaleAttr)
return specularLighting->setSurfaceScale(m_surfaceScale->currentValue()->value());
@@ -142,12 +142,12 @@ PassRefPtrWillBeRawPtr<FilterEffect> SVGFESpecularLightingElement::build(SVGFilt
if (!lightNode)
return nullptr;
- LayoutObject* renderer = this->layoutObject();
- if (!renderer)
+ LayoutObject* layoutObject = this->layoutObject();
+ if (!layoutObject)
return nullptr;
- ASSERT(renderer->style());
- Color color = renderer->style()->svgStyle().lightingColor();
+ ASSERT(layoutObject->style());
+ Color color = layoutObject->style()->svgStyle().lightingColor();
RefPtr<LightSource> lightSource = lightNode->lightSource(filter);
RefPtrWillBeRawPtr<FilterEffect> effect = FESpecularLighting::create(filter, color, m_surfaceScale->currentValue()->value(), m_specularConstant->currentValue()->value(),
« no previous file with comments | « Source/core/svg/SVGFELightElement.cpp ('k') | Source/core/svg/SVGFilterElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698