Revert "remove unneeded flag SK_SUPPORT_LEGACY_RECTMAKELARGEST"

This reverts commit 1e29525d5f.

Reason for revert: forgot to also delete float version, and update dox

Original change's description:
> 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 <reed@google.com>
> Commit-Queue: Mike Reed <reed@google.com>

TBR=reed@google.com

Change-Id: If207292c23b1d3c60de2bc83795b8e845d8fdda2
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/161150
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2018-10-10 21:08:11 +00:00 committed by Skia Commit-Bot
parent c1db610f6f
commit c6471ebc67

View File

@ -51,6 +51,14 @@ 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.