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

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

Issue 908243002: Move rendering/svg/RenderSVGResource* to layout/svg. (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/SVGMaskElement.cpp ('k') | Source/core/svg/SVGRadialGradientElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPatternElement.cpp
diff --git a/Source/core/svg/SVGPatternElement.cpp b/Source/core/svg/SVGPatternElement.cpp
index 27e84e542707bb76b579fd6af24dbcb1eef0094d..9d7af0c5c9cead9c20ed2eb2ca6e56c755bae7fa 100644
--- a/Source/core/svg/SVGPatternElement.cpp
+++ b/Source/core/svg/SVGPatternElement.cpp
@@ -24,7 +24,7 @@
#include "core/XLinkNames.h"
#include "core/dom/ElementTraversal.h"
-#include "core/rendering/svg/RenderSVGResourcePattern.h"
+#include "core/layout/svg/LayoutSVGResourcePattern.h"
#include "core/svg/PatternAttributes.h"
#include "platform/transforms/AffineTransform.h"
@@ -108,7 +108,7 @@ void SVGPatternElement::svgAttributeChanged(const QualifiedName& attrName)
|| attrName == SVGNames::heightAttr)
updateRelativeLengthsInformation();
- RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->renderer());
+ LayoutSVGResourceContainer* renderer = toLayoutSVGResourceContainer(this->renderer());
if (renderer)
renderer->invalidateCacheAndMarkForLayout();
}
@@ -126,7 +126,7 @@ void SVGPatternElement::childrenChanged(const ChildrenChange& change)
LayoutObject* SVGPatternElement::createRenderer(const LayoutStyle&)
{
- return new RenderSVGResourcePattern(this);
+ return new LayoutSVGResourcePattern(this);
}
static void setPatternAttributes(const SVGPatternElement* element, PatternAttributes& attributes)
« no previous file with comments | « Source/core/svg/SVGMaskElement.cpp ('k') | Source/core/svg/SVGRadialGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698