Index: Source/core/layout/svg/LayoutSVGGradientStop.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGGradientStop.cpp b/Source/core/layout/svg/LayoutSVGGradientStop.cpp |
similarity index 85% |
rename from Source/core/rendering/svg/RenderSVGGradientStop.cpp |
rename to Source/core/layout/svg/LayoutSVGGradientStop.cpp |
index cd3a390416c500ebea30180628cdbf7ce37f1f48..58e3f19f38f02800c8088f5eef0103ea2ffae64e 100644 |
--- a/Source/core/rendering/svg/RenderSVGGradientStop.cpp |
+++ b/Source/core/layout/svg/LayoutSVGGradientStop.cpp |
@@ -19,7 +19,7 @@ |
#include "config.h" |
-#include "core/rendering/svg/RenderSVGGradientStop.h" |
+#include "core/layout/svg/LayoutSVGGradientStop.h" |
#include "core/layout/svg/LayoutSVGResourceContainer.h" |
#include "core/svg/SVGGradientElement.h" |
@@ -27,16 +27,16 @@ |
namespace blink { |
-RenderSVGGradientStop::RenderSVGGradientStop(SVGStopElement* element) |
+LayoutSVGGradientStop::LayoutSVGGradientStop(SVGStopElement* element) |
: LayoutObject(element) |
{ |
} |
-RenderSVGGradientStop::~RenderSVGGradientStop() |
+LayoutSVGGradientStop::~LayoutSVGGradientStop() |
{ |
} |
-void RenderSVGGradientStop::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle) |
+void LayoutSVGGradientStop::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle) |
{ |
LayoutObject::styleDidChange(diff, oldStyle); |
if (!diff.hasDifference()) |
@@ -56,12 +56,12 @@ void RenderSVGGradientStop::styleDidChange(StyleDifference diff, const LayoutSty |
container->removeAllClientsFromCache(); |
} |
-void RenderSVGGradientStop::layout() |
+void LayoutSVGGradientStop::layout() |
{ |
clearNeedsLayout(); |
} |
-SVGGradientElement* RenderSVGGradientStop::gradientElement() const |
+SVGGradientElement* LayoutSVGGradientStop::gradientElement() const |
{ |
ContainerNode* parentNode = node()->parentNode(); |
ASSERT(parentNode); |