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

Unified Diff: Source/core/svg/SVGFEFloodElement.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/SVGFEDropShadowElement.cpp ('k') | Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEFloodElement.cpp
diff --git a/Source/core/svg/SVGFEFloodElement.cpp b/Source/core/svg/SVGFEFloodElement.cpp
index d3f8d26be3119246ffaeb950f45435976f4a4a04..663a9807fa181a56a8e2a8479bd40289d5304bc2 100644
--- a/Source/core/svg/SVGFEFloodElement.cpp
+++ b/Source/core/svg/SVGFEFloodElement.cpp
@@ -37,9 +37,9 @@ DEFINE_NODE_FACTORY(SVGFEFloodElement)
bool SVGFEFloodElement::setFilterEffectAttribute(FilterEffect* effect, const QualifiedName& attrName)
{
- LayoutObject* renderer = this->layoutObject();
- ASSERT(renderer);
- const ComputedStyle& style = renderer->styleRef();
+ LayoutObject* layoutObject = this->layoutObject();
+ ASSERT(layoutObject);
+ const ComputedStyle& style = layoutObject->styleRef();
FEFlood* flood = static_cast<FEFlood*>(effect);
if (attrName == SVGNames::flood_colorAttr)
@@ -53,12 +53,12 @@ bool SVGFEFloodElement::setFilterEffectAttribute(FilterEffect* effect, const Qua
PassRefPtrWillBeRawPtr<FilterEffect> SVGFEFloodElement::build(SVGFilterBuilder*, Filter* filter)
{
- LayoutObject* renderer = this->layoutObject();
- if (!renderer)
+ LayoutObject* layoutObject = this->layoutObject();
+ if (!layoutObject)
return nullptr;
- ASSERT(renderer->style());
- const SVGComputedStyle& svgStyle = renderer->style()->svgStyle();
+ ASSERT(layoutObject->style());
+ const SVGComputedStyle& svgStyle = layoutObject->style()->svgStyle();
Color color = svgStyle.floodColor();
float opacity = svgStyle.floodOpacity();
« no previous file with comments | « Source/core/svg/SVGFEDropShadowElement.cpp ('k') | Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698