From 1e29525d5f268dd48ee6abd6f3bdd78c4cac956c Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Wed, 10 Oct 2018 15:47:23 -0400 Subject: [PATCH] remove unneeded flag SK_SUPPORT_LEGACY_RECTMAKELARGEST Bug: skia: Change-Id: I42ada9845f4cefd4029c0420d64508decc8eef7a Reviewed-on: https://skia-review.googlesource.com/c/161147 Reviewed-by: Mike Reed Commit-Queue: Mike Reed --- include/core/SkRect.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/core/SkRect.h b/include/core/SkRect.h index ad52227ebf..e5b363ee5c 100644 --- a/include/core/SkRect.h +++ b/include/core/SkRect.h @@ -51,14 +51,6 @@ struct SK_API SkIRect { return SkIRect{0, 0, 0, 0}; } -#ifdef SK_SUPPORT_LEGACY_RECTMAKELARGEST - /** Deprecated. - */ - static SkIRect SK_WARN_UNUSED_RESULT MakeLargest() { - return { SK_MinS32, SK_MinS32, SK_MaxS32, SK_MaxS32 }; - } -#endif - /** Returns constructed SkIRect set to (0, 0, w, h). Does not validate input; w or h may be negative.