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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/SVGFilterElement.cpp ('k') | Source/core/svg/SVGForeignObjectElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
diff --git a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
index 133e106cf4858b7b8067f2afa74bce82d99952fd..b508ef9b7ce2b46eccd6b200c56919c9435ff047 100644
--- a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
+++ b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
@@ -138,13 +138,13 @@ bool SVGFilterPrimitiveStandardAttributes::layoutObjectIsNeeded(const LayoutStyl
void SVGFilterPrimitiveStandardAttributes::invalidate()
{
- if (LayoutObject* primitiveRenderer = renderer())
+ if (LayoutObject* primitiveRenderer = layoutObject())
markForLayoutAndParentResourceInvalidation(primitiveRenderer);
}
void SVGFilterPrimitiveStandardAttributes::primitiveAttributeChanged(const QualifiedName& attribute)
{
- if (LayoutObject* primitiveRenderer = renderer())
+ if (LayoutObject* primitiveRenderer = layoutObject())
static_cast<LayoutSVGResourceFilterPrimitive*>(primitiveRenderer)->primitiveAttributeChanged(attribute);
}
@@ -158,7 +158,7 @@ void invalidateFilterPrimitiveParent(SVGElement* element)
if (!parent)
return;
- LayoutObject* renderer = parent->renderer();
+ LayoutObject* renderer = parent->layoutObject();
if (!renderer || !renderer->isSVGResourceFilterPrimitive())
return;
« no previous file with comments | « Source/core/svg/SVGFilterElement.cpp ('k') | Source/core/svg/SVGForeignObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698