Always pin the sweepAngle in CreateDrawArcPath

We were already guarding against this in the Skia fuzzers, but Chrome's
fuzzers are hitting it now, too. Given that the failure mode before was
an infinite loop, it's worth making this code robust, even in production
builds.

Bug: b/333962759
Change-Id: Icf182bd83f149d77a86e8288eb75774927eb21bb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/842659
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
1 file changed