Index: ui/gfx/path.cc |
diff --git a/ui/gfx/path.cc b/ui/gfx/path.cc |
index db355e8166e8d13ad84ae7d7d4574bcaae3ac6dc..70ed739ab8dc5ae80d4338125c5f06fbc88ca31e 100644 |
--- a/ui/gfx/path.cc |
+++ b/ui/gfx/path.cc |
@@ -19,14 +19,12 @@ Path::Path(const Point* points, size_t count) { |
lineTo(SkIntToScalar(points[i].x), SkIntToScalar(points[i].y)); |
} |
-#if defined(ENABLE_DIP) |
Path::Path(const PointF* points, size_t count) { |
DCHECK(count > 1); |
moveTo(SkFloatToScalar(points[0].x), SkFloatToScalar(points[0].y)); |
for (size_t i = 1; i < count; ++i) |
lineTo(SkFloatToScalar(points[i].x), SkFloatToScalar(points[i].y)); |
} |
-#endif |
Path::~Path() { |
} |