Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: gfx/path.cc

Issue 3034039: FBTF: Minor gfx/ header cleanup. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win fix Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gfx/path.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « gfx/path.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698