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

Unified Diff: Source/core/svg/SVGMarkerElement.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/SVGLinearGradientElement.cpp ('k') | Source/core/svg/SVGMaskElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGMarkerElement.cpp
diff --git a/Source/core/svg/SVGMarkerElement.cpp b/Source/core/svg/SVGMarkerElement.cpp
index 9da0372a03dba62d86f329b1822ffb9285d5ec68..b069fe8c642a9e57812314c59bdb4ca6fe41cf31 100644
--- a/Source/core/svg/SVGMarkerElement.cpp
+++ b/Source/core/svg/SVGMarkerElement.cpp
@@ -24,7 +24,7 @@
#include "core/svg/SVGMarkerElement.h"
#include "core/SVGNames.h"
-#include "core/rendering/svg/RenderSVGResourceMarker.h"
+#include "core/layout/svg/LayoutSVGResourceMarker.h"
#include "core/svg/SVGAngleTearOff.h"
namespace blink {
@@ -117,7 +117,7 @@ void SVGMarkerElement::svgAttributeChanged(const QualifiedName& attrName)
|| attrName == SVGNames::markerHeightAttr)
updateRelativeLengthsInformation();
- RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->renderer());
+ LayoutSVGResourceContainer* renderer = toLayoutSVGResourceContainer(this->renderer());
if (renderer)
renderer->invalidateCacheAndMarkForLayout();
}
@@ -151,7 +151,7 @@ void SVGMarkerElement::setOrientToAngle(PassRefPtrWillBeRawPtr<SVGAngleTearOff>
LayoutObject* SVGMarkerElement::createRenderer(const LayoutStyle&)
{
- return new RenderSVGResourceMarker(this);
+ return new LayoutSVGResourceMarker(this);
}
bool SVGMarkerElement::selfHasRelativeLengths() const
« no previous file with comments | « Source/core/svg/SVGLinearGradientElement.cpp ('k') | Source/core/svg/SVGMaskElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698