skia /
skia /
570957ee63c9f2c4f242f33e7281e2739e83dba4 Fix stack alignment for SkAutoSTArray
The alignment for the inline memory was incorrect for T with
alignof(T) > alignof(T*). This would be things like closures
and std::function on mac. So, rare, but still a bug.
Change-Id: I867f688bdb28ad489b465f1ae379be6dc0247b18
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/629344
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Herb Derby <herb@google.com>
1 file changed