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>
This commit is contained in:
parent
93faa6795b
commit
1e29525d5f
@ -51,14 +51,6 @@ struct SK_API SkIRect {
|
|||||||
return SkIRect{0, 0, 0, 0};
|
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
|
/** Returns constructed SkIRect set to (0, 0, w, h). Does not validate input; w or h
|
||||||
may be negative.
|
may be negative.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user