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

Unified Diff: Source/core/svg/SVGFEDiffuseLightingElement.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/SVGEllipseElement.cpp ('k') | Source/core/svg/SVGFEDropShadowElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEDiffuseLightingElement.cpp
diff --git a/Source/core/svg/SVGFEDiffuseLightingElement.cpp b/Source/core/svg/SVGFEDiffuseLightingElement.cpp
index 6117a9d83b8bba40b388a3fe2eec3b888c3d6751..9ccbbce97aadc313edf7daa8eaf3de1c911e3d94 100644
--- a/Source/core/svg/SVGFEDiffuseLightingElement.cpp
+++ b/Source/core/svg/SVGFEDiffuseLightingElement.cpp
@@ -58,10 +58,10 @@ bool SVGFEDiffuseLightingElement::setFilterEffectAttribute(FilterEffect* effect,
FEDiffuseLighting* diffuseLighting = static_cast<FEDiffuseLighting*>(effect);
if (attrName == SVGNames::lighting_colorAttr) {
- LayoutObject* renderer = this->layoutObject();
- ASSERT(renderer);
- ASSERT(renderer->style());
- return diffuseLighting->setLightingColor(renderer->style()->svgStyle().lightingColor());
+ LayoutObject* layoutObject = this->layoutObject();
+ ASSERT(layoutObject);
+ ASSERT(layoutObject->style());
+ return diffuseLighting->setLightingColor(layoutObject->style()->svgStyle().lightingColor());
}
if (attrName == SVGNames::surfaceScaleAttr)
return diffuseLighting->setSurfaceScale(m_surfaceScale->currentValue()->value());
@@ -136,12 +136,12 @@ PassRefPtrWillBeRawPtr<FilterEffect> SVGFEDiffuseLightingElement::build(SVGFilte
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 = FEDiffuseLighting::create(filter, color, m_surfaceScale->currentValue()->value(), m_diffuseConstant->currentValue()->value(),
« no previous file with comments | « Source/core/svg/SVGEllipseElement.cpp ('k') | Source/core/svg/SVGFEDropShadowElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698