diff options
Diffstat (limited to 'WebCore/html/canvas/CanvasRenderingContext2D.cpp')
-rw-r--r-- | WebCore/html/canvas/CanvasRenderingContext2D.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/WebCore/html/canvas/CanvasRenderingContext2D.cpp b/WebCore/html/canvas/CanvasRenderingContext2D.cpp index a2d9e98..b9f86ce 100644 --- a/WebCore/html/canvas/CanvasRenderingContext2D.cpp +++ b/WebCore/html/canvas/CanvasRenderingContext2D.cpp @@ -793,16 +793,6 @@ void CanvasRenderingContext2D::rect(float x, float y, float width, float height) return; } - if (width < 0) { - width = -width; - x -= width; - } - - if (height < 0) { - height = -height; - y -= height; - } - m_path.addRect(FloatRect(x, y, width, height)); } |