summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/Path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/Path.cpp')
-rw-r--r--WebCore/platform/graphics/Path.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/Path.cpp b/WebCore/platform/graphics/Path.cpp
index af94be7..333afcb 100644
--- a/WebCore/platform/graphics/Path.cpp
+++ b/WebCore/platform/graphics/Path.cpp
@@ -266,8 +266,6 @@ Path Path::createCircle(const FloatPoint& center, float r)
Path Path::createLine(const FloatPoint& start, const FloatPoint& end)
{
Path path;
- if (start.x() == end.x() && start.y() == end.y())
- return path;
path.moveTo(start);
path.addLineTo(end);