Allow SkSpan(data, size) ctor to accept any integral-typed size.

We can reduce the boilerplate casts needed in the code by allowing
SkSpan to take any integral type here, not just size_t.

Change-Id: I3a34b8d21d83ae00af7a8e7af31a65e1f1f31b03
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/601321
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2 files changed