From 274218ef0173ff6046f2258c703c1c83ea37c02f Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Mon, 8 Jan 2018 15:05:02 -0500 Subject: move largest apis into private Related to https://skia-review.googlesource.com/c/skia/+/91860 Bug: skia: Change-Id: Ia8fd981b422bbab75541b078277d2e09e1fc9d41 Reviewed-on: https://skia-review.googlesource.com/91940 Reviewed-by: Brian Salomon --- tests/PictureBBHTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/PictureBBHTest.cpp') diff --git a/tests/PictureBBHTest.cpp b/tests/PictureBBHTest.cpp index 0bc81c2934..6a4cd830c8 100644 --- a/tests/PictureBBHTest.cpp +++ b/tests/PictureBBHTest.cpp @@ -11,6 +11,7 @@ #include "SkPaint.h" #include "SkPicture.h" #include "SkPictureRecorder.h" +#include "SkRectPriv.h" #include "Test.h" @@ -98,7 +99,7 @@ DEF_TEST(RTreeMakeLargest, r) { // used to fall into an infinite loop. SkRTreeFactory factory; - std::unique_ptr bbh{ factory(SkRect::MakeLargest()) }; + std::unique_ptr bbh{ factory(SkRectPriv::MakeLargest()) }; SkRect rects[] = { {0,0, 10,10}, {5,5,15,15} }; bbh->insert(rects, SK_ARRAY_COUNT(rects)); -- cgit v1.2.3