Index: Source/core/rendering/svg/RenderSVGRect.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGRect.cpp b/Source/core/rendering/svg/RenderSVGRect.cpp |
index 81c4659032f436712d67f89b63c6f17bbb34709f..a8d37354f857f1a685ad47d61c941fcc3601492a 100644 |
--- a/Source/core/rendering/svg/RenderSVGRect.cpp |
+++ b/Source/core/rendering/svg/RenderSVGRect.cpp |
@@ -28,7 +28,7 @@ |
#include "config.h" |
#include "core/rendering/svg/RenderSVGRect.h" |
-#include "platform/graphics/GraphicsContext.h" |
+#include "core/svg/SVGRectElement.h" |
namespace blink { |
@@ -86,29 +86,6 @@ void RenderSVGRect::updateShapeFromElement() |
m_strokeBoundingBox = m_outerStrokeRect; |
} |
-void RenderSVGRect::fillShape(GraphicsContext* context) const |
-{ |
- if (m_usePathFallback) { |
- RenderSVGShape::fillShape(context); |
- return; |
- } |
- |
- context->fillRect(m_fillBoundingBox); |
-} |
- |
-void RenderSVGRect::strokeShape(GraphicsContext* context) const |
-{ |
- if (!style()->svgStyle().hasVisibleStroke()) |
- return; |
- |
- if (m_usePathFallback) { |
- RenderSVGShape::strokeShape(context); |
- return; |
- } |
- |
- context->strokeRect(m_fillBoundingBox, strokeWidth()); |
-} |
- |
bool RenderSVGRect::shapeDependentStrokeContains(const FloatPoint& point) |
{ |
// The optimized contains code below does not support non-smooth strokes so we need |