Index: Source/core/layout/svg/LayoutSVGGradientStop.h |
diff --git a/Source/core/rendering/svg/RenderSVGGradientStop.h b/Source/core/layout/svg/LayoutSVGGradientStop.h |
similarity index 83% |
rename from Source/core/rendering/svg/RenderSVGGradientStop.h |
rename to Source/core/layout/svg/LayoutSVGGradientStop.h |
index b193c7c9ff4269f1cf2c1e2cf890edf7242b777b..d98354634c4e10b90b46833d1e80e53f0223b392 100644 |
--- a/Source/core/rendering/svg/RenderSVGGradientStop.h |
+++ b/Source/core/layout/svg/LayoutSVGGradientStop.h |
@@ -18,8 +18,8 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-#ifndef RenderSVGGradientStop_h |
-#define RenderSVGGradientStop_h |
+#ifndef LayoutSVGGradientStop_h |
+#define LayoutSVGGradientStop_h |
#include "core/layout/LayoutObject.h" |
@@ -29,12 +29,12 @@ class SVGGradientElement; |
class SVGStopElement; |
// This class exists mostly so we can hear about gradient stop style changes |
-class RenderSVGGradientStop final : public LayoutObject { |
+class LayoutSVGGradientStop final : public LayoutObject { |
public: |
- explicit RenderSVGGradientStop(SVGStopElement*); |
- virtual ~RenderSVGGradientStop(); |
+ explicit LayoutSVGGradientStop(SVGStopElement*); |
+ virtual ~LayoutSVGGradientStop(); |
- virtual const char* renderName() const override { return "RenderSVGGradientStop"; } |
+ virtual const char* renderName() const override { return "LayoutSVGGradientStop"; } |
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || type == LayoutObjectSVGGradientStop || LayoutObject::isOfType(type); } |
virtual void layout() override; |
@@ -54,8 +54,8 @@ private: |
SVGGradientElement* gradientElement() const; |
}; |
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderSVGGradientStop, isSVGGradientStop()); |
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGGradientStop, isSVGGradientStop()); |
} |
-#endif // RenderSVGGradientStop_h |
+#endif // LayoutSVGGradientStop_h |