aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gm/convex_all_line_paths.cpp2
-rw-r--r--gn/utils.gni4
-rwxr-xr-xsrc/utils/SkOffsetPolygon.cpp (renamed from src/utils/SkInsetConvexPolygon.cpp)2
-rwxr-xr-xsrc/utils/SkOffsetPolygon.h (renamed from src/utils/SkInsetConvexPolygon.h)0
-rwxr-xr-xsrc/utils/SkShadowTessellator.cpp2
-rw-r--r--tests/InsetConvexPolyTest.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/gm/convex_all_line_paths.cpp b/gm/convex_all_line_paths.cpp
index a4bc6a66cb..b8cdbce72a 100644
--- a/gm/convex_all_line_paths.cpp
+++ b/gm/convex_all_line_paths.cpp
@@ -6,7 +6,7 @@
*/
#include "gm.h"
-#include "SkInsetConvexPolygon.h"
+#include "SkOffsetPolygon.h"
#include "SkPathPriv.h"
static void create_ngon(int n, SkPoint* pts, SkScalar width, SkScalar height) {
diff --git a/gn/utils.gni b/gn/utils.gni
index fb9e0a2abd..920924b538 100644
--- a/gn/utils.gni
+++ b/gn/utils.gni
@@ -37,8 +37,6 @@ skia_utils_sources = [
"$_src/utils/SkFloatToDecimal.cpp",
"$_src/utils/SkFloatToDecimal.h",
"$_src/utils/SkFloatUtils.h",
- "$_src/utils/SkInsetConvexPolygon.cpp",
- "$_src/utils/SkInsetConvexPolygon.h",
"$_src/utils/SkInterpolator.cpp",
"$_src/utils/SkJSONWriter.cpp",
"$_src/utils/SkJSONWriter.h",
@@ -47,6 +45,8 @@ skia_utils_sources = [
"$_src/utils/SkMultiPictureDocument.cpp",
"$_src/utils/SkNWayCanvas.cpp",
"$_src/utils/SkNullCanvas.cpp",
+ "$_src/utils/SkOffsetPolygon.cpp",
+ "$_src/utils/SkOffsetPolygon.h",
"$_src/utils/SkOSPath.cpp",
"$_src/utils/SkOSPath.h",
"$_src/utils/SkPaintFilterCanvas.cpp",
diff --git a/src/utils/SkInsetConvexPolygon.cpp b/src/utils/SkOffsetPolygon.cpp
index 8a55b13390..c8ebbeb7af 100755
--- a/src/utils/SkInsetConvexPolygon.cpp
+++ b/src/utils/SkOffsetPolygon.cpp
@@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
-#include "SkInsetConvexPolygon.h"
+#include "SkOffsetPolygon.h"
#include "SkPointPriv.h"
#include "SkTemplates.h"
diff --git a/src/utils/SkInsetConvexPolygon.h b/src/utils/SkOffsetPolygon.h
index 1d5a19c176..1d5a19c176 100755
--- a/src/utils/SkInsetConvexPolygon.h
+++ b/src/utils/SkOffsetPolygon.h
diff --git a/src/utils/SkShadowTessellator.cpp b/src/utils/SkShadowTessellator.cpp
index 8815ce646d..75e4059222 100755
--- a/src/utils/SkShadowTessellator.cpp
+++ b/src/utils/SkShadowTessellator.cpp
@@ -9,7 +9,7 @@
#include "SkColorData.h"
#include "SkDrawShadowInfo.h"
#include "SkGeometry.h"
-#include "SkInsetConvexPolygon.h"
+#include "SkOffsetPolygon.h"
#include "SkPath.h"
#include "SkPoint3.h"
#include "SkPointPriv.h"
diff --git a/tests/InsetConvexPolyTest.cpp b/tests/InsetConvexPolyTest.cpp
index 9c1349c8ec..433cf239e6 100644
--- a/tests/InsetConvexPolyTest.cpp
+++ b/tests/InsetConvexPolyTest.cpp
@@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
#include "Test.h"
-#include "SkInsetConvexPolygon.h"
+#include "SkOffsetPolygon.h"
static bool is_convex(const SkTDArray<SkPoint>& poly) {
if (poly.count() < 3) {