diff --git a/gn/core.gni b/gn/core.gni index aae6c8c040..934df2e29d 100644 --- a/gn/core.gni +++ b/gn/core.gni @@ -421,7 +421,6 @@ skia_core_sources = [ "$_include/core/SkPath.h", "$_include/core/SkPathEffect.h", "$_include/core/SkPathMeasure.h", - "$_include/core/SkPathRef.h", "$_include/core/SkPicture.h", "$_include/core/SkPictureAnalyzer.h", "$_include/core/SkPictureRecorder.h", @@ -460,6 +459,7 @@ skia_core_sources = [ "$_include/private/SkMessageBus.h", "$_include/private/SkMutex.h", "$_include/private/SkOnce.h", + "$_include/private/SkPathRef.h", "$_include/private/SkSemaphore.h", "$_include/private/SkShadowFlags.h", "$_include/private/SkSpinlock.h", diff --git a/include/core/SkPath.h b/include/core/SkPath.h index 60aa44ff86..b8c921f3ee 100644 --- a/include/core/SkPath.h +++ b/include/core/SkPath.h @@ -9,7 +9,7 @@ #define SkPath_DEFINED #include "SkMatrix.h" -#include "SkPathRef.h" +#include "../private/SkPathRef.h" class SkAutoPathBoundsUpdate; class SkRRect; diff --git a/include/core/SkPathRef.h b/include/private/SkPathRef.h similarity index 100% rename from include/core/SkPathRef.h rename to include/private/SkPathRef.h diff --git a/tests/RRectInPathTest.cpp b/tests/RRectInPathTest.cpp index 5b7d17d9ce..4aa535ea81 100644 --- a/tests/RRectInPathTest.cpp +++ b/tests/RRectInPathTest.cpp @@ -7,7 +7,7 @@ #include "SkMatrix.h" #include "SkPath.h" -#include "SkPathRef.h" +//#include "SkPathRef.h" #include "SkRRect.h" #include "Test.h"