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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/svg/SVGFilterPrimitiveStandardAttributes.h ('k') | Source/core/svg/SVGForeignObjectElement.h » ('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 847ecc90d64ed534ec071bbf3875022aade51278..7f2324827c904594a275a50e99c275cc5cf9817e 100644
--- a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
+++ b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
@@ -123,7 +123,7 @@ void SVGFilterPrimitiveStandardAttributes::setStandardAttributes(FilterEffect* f
filterEffect->setHasHeight(true);
}
-RenderObject* SVGFilterPrimitiveStandardAttributes::createRenderer(const RenderStyle&)
+LayoutObject* SVGFilterPrimitiveStandardAttributes::createRenderer(const RenderStyle&)
{
return new RenderSVGResourceFilterPrimitive(this);
}
@@ -138,13 +138,13 @@ bool SVGFilterPrimitiveStandardAttributes::rendererIsNeeded(const RenderStyle& s
void SVGFilterPrimitiveStandardAttributes::invalidate()
{
- if (RenderObject* primitiveRenderer = renderer())
+ if (LayoutObject* primitiveRenderer = renderer())
markForLayoutAndParentResourceInvalidation(primitiveRenderer);
}
void SVGFilterPrimitiveStandardAttributes::primitiveAttributeChanged(const QualifiedName& attribute)
{
- if (RenderObject* primitiveRenderer = renderer())
+ if (LayoutObject* primitiveRenderer = renderer())
static_cast<RenderSVGResourceFilterPrimitive*>(primitiveRenderer)->primitiveAttributeChanged(attribute);
}
@@ -158,7 +158,7 @@ void invalidateFilterPrimitiveParent(SVGElement* element)
if (!parent)
return;
- RenderObject* renderer = parent->renderer();
+ LayoutObject* renderer = parent->renderer();
if (!renderer || !renderer->isSVGResourceFilterPrimitive())
return;
« no previous file with comments | « Source/core/svg/SVGFilterPrimitiveStandardAttributes.h ('k') | Source/core/svg/SVGForeignObjectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698