| Index: Source/core/layout/svg/LayoutSVGRect.h
|
| diff --git a/Source/core/rendering/svg/RenderSVGRect.h b/Source/core/layout/svg/LayoutSVGRect.h
|
| similarity index 89%
|
| rename from Source/core/rendering/svg/RenderSVGRect.h
|
| rename to Source/core/layout/svg/LayoutSVGRect.h
|
| index e040202124f9d794fe3111b5b81cc95ccf8cd2d7..b036cbc93f17655396b5075a0e1d5e5daece5607 100644
|
| --- a/Source/core/rendering/svg/RenderSVGRect.h
|
| +++ b/Source/core/layout/svg/LayoutSVGRect.h
|
| @@ -25,22 +25,22 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef RenderSVGRect_h
|
| -#define RenderSVGRect_h
|
| +#ifndef LayoutSVGRect_h
|
| +#define LayoutSVGRect_h
|
|
|
| #include "core/rendering/svg/RenderSVGShape.h"
|
|
|
| namespace blink {
|
|
|
| -class RenderSVGRect final : public RenderSVGShape {
|
| +class LayoutSVGRect final : public RenderSVGShape {
|
| public:
|
| - explicit RenderSVGRect(SVGRectElement*);
|
| - virtual ~RenderSVGRect();
|
| + explicit LayoutSVGRect(SVGRectElement*);
|
| + virtual ~LayoutSVGRect();
|
|
|
| virtual ShapeGeometryCodePath geometryCodePath() const override { return m_usePathFallback ? PathGeometry : RectGeometryFastPath; }
|
|
|
| private:
|
| - virtual const char* renderName() const override { return "RenderSVGRect"; }
|
| + virtual const char* renderName() const override { return "LayoutSVGRect"; }
|
|
|
| virtual void updateShapeFromElement() override;
|
| virtual bool isShapeEmpty() const override { return m_usePathFallback ? RenderSVGShape::isShapeEmpty() : m_fillBoundingBox.isEmpty(); }
|
|
|