Index: ui/gfx/path.cc |
diff --git a/ui/gfx/path.cc b/ui/gfx/path.cc |
deleted file mode 100644 |
index 70ed739ab8dc5ae80d4338125c5f06fbc88ca31e..0000000000000000000000000000000000000000 |
--- a/ui/gfx/path.cc |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "ui/gfx/path.h" |
- |
-#include "base/logging.h" |
- |
-namespace gfx { |
- |
-Path::Path() |
- : SkPath() { |
-} |
- |
-Path::Path(const Point* points, size_t count) { |
- DCHECK(count > 1); |
- moveTo(SkIntToScalar(points[0].x), SkIntToScalar(points[0].y)); |
- for (size_t i = 1; i < count; ++i) |
- lineTo(SkIntToScalar(points[i].x), SkIntToScalar(points[i].y)); |
-} |
- |
-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)); |
-} |
- |
-Path::~Path() { |
-} |
- |
-} // namespace gfx |