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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 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
Index: Source/core/svg/SVGGradientElement.cpp
diff --git a/Source/core/svg/SVGGradientElement.cpp b/Source/core/svg/SVGGradientElement.cpp
index 855c28817123077a16916cc15079aa5bf9264d49..6e82995d3e1f02ca2b437f53746724ef0ea8cdee 100644
--- a/Source/core/svg/SVGGradientElement.cpp
+++ b/Source/core/svg/SVGGradientElement.cpp
@@ -90,7 +90,7 @@ void SVGGradientElement::svgAttributeChanged(const QualifiedName& attrName)
SVGElement::InvalidationGuard invalidationGuard(this);
- LayoutSVGResourceContainer* renderer = toLayoutSVGResourceContainer(this->renderer());
+ LayoutSVGResourceContainer* renderer = toLayoutSVGResourceContainer(this->layoutObject());
if (renderer)
renderer->invalidateCacheAndMarkForLayout();
}
@@ -102,7 +102,7 @@ void SVGGradientElement::childrenChanged(const ChildrenChange& change)
if (change.byParser)
return;
- if (LayoutObject* object = renderer())
+ if (LayoutObject* object = layoutObject())
object->setNeedsLayoutAndFullPaintInvalidation();
}

Powered by Google App Engine
This is Rietveld 408576698