Index: gfx/path.cc |
diff --git a/gfx/path.cc b/gfx/path.cc |
index 10d1dddff610463029364edbcad8a8d978ee17dc..e456679ade6a6d55246798545d1aba91e17dfcb1 100644 |
--- a/gfx/path.cc |
+++ b/gfx/path.cc |
@@ -8,6 +8,11 @@ |
namespace gfx { |
+Path::Path() |
+ : SkPath() { |
+ moveTo(0, 0); |
+} |
+ |
Path::Path(const Point* points, size_t count) { |
DCHECK(count > 1); |
moveTo(SkIntToScalar(points[0].x), SkIntToScalar(points[0].y)); |
@@ -15,4 +20,7 @@ Path::Path(const Point* points, size_t count) { |
lineTo(SkIntToScalar(points[i].x), SkIntToScalar(points[i].y)); |
} |
+Path::~Path() { |
+} |
+ |
} // namespace gfx |