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

Unified Diff: Source/core/svg/SVGUseElement.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/SVGUseElement.h ('k') | Source/core/svg/graphics/SVGImageCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUseElement.cpp
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp
index 9e66f20a0ff258599c8f0680d46b31b70df3ff88..997d9c49966251584f2ad80a3e14735a2f10c73f 100644
--- a/Source/core/svg/SVGUseElement.cpp
+++ b/Source/core/svg/SVGUseElement.cpp
@@ -191,7 +191,7 @@ void SVGUseElement::svgAttributeChanged(const QualifiedName& attrName)
SVGElement::InvalidationGuard invalidationGuard(this);
- RenderObject* renderer = this->renderer();
+ LayoutObject* renderer = this->renderer();
if (attrName == SVGNames::xAttr
|| attrName == SVGNames::yAttr
|| attrName == SVGNames::widthAttr
@@ -412,7 +412,7 @@ void SVGUseElement::buildShadowAndInstanceTree(SVGElement* target)
updateRelativeLengthsInformation();
}
-RenderObject* SVGUseElement::createRenderer(const RenderStyle&)
+LayoutObject* SVGUseElement::createRenderer(const RenderStyle&)
{
return new RenderSVGTransformableContainer(this);
}
@@ -451,7 +451,7 @@ void SVGUseElement::toClipPath(Path& path)
}
}
-RenderObject* SVGUseElement::rendererClipChild() const
+LayoutObject* SVGUseElement::rendererClipChild() const
{
if (Node* n = userAgentShadowRoot()->firstChild()) {
if (n->isSVGElement() && isDirectReference(toSVGElement(*n)))
« no previous file with comments | « Source/core/svg/SVGUseElement.h ('k') | Source/core/svg/graphics/SVGImageCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698