diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 17:28:06 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 17:28:06 +0000 |
commit | 77030daf904058dbb76ab58525b778eb52150f2e (patch) | |
tree | 049bbaa2c93c16ad38cebb1f57467d919048af79 /gfx/path.cc | |
parent | 686b9aa07189787576c5bc1bccc002c8bd4f08af (diff) | |
download | chromium_src-77030daf904058dbb76ab58525b778eb52150f2e.zip chromium_src-77030daf904058dbb76ab58525b778eb52150f2e.tar.gz chromium_src-77030daf904058dbb76ab58525b778eb52150f2e.tar.bz2 |
FBTF: Minor gfx/ header cleanup.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3034039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/path.cc')
-rw-r--r-- | gfx/path.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gfx/path.cc b/gfx/path.cc index 10d1ddd..e456679 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 |