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 <bsalomon@google.com>
diff --git a/tests/PictureBBHTest.cpp b/tests/PictureBBHTest.cpp
index 0bc81c2..6a4cd83 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 @@
     // used to fall into an infinite loop.
 
     SkRTreeFactory factory;
-    std::unique_ptr<SkBBoxHierarchy> bbh{ factory(SkRect::MakeLargest()) };
+    std::unique_ptr<SkBBoxHierarchy> bbh{ factory(SkRectPriv::MakeLargest()) };
 
     SkRect rects[] = { {0,0, 10,10}, {5,5,15,15} };
     bbh->insert(rects, SK_ARRAY_COUNT(rects));