commit | 7e5e860956394db8a3f23ee8a4da74bef578c0f7 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Wed Oct 04 11:17:15 2023 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Jan 09 16:44:08 2024 +0000 |
tree | 7c926f6fa12af4a59cc922b13777caa227bbdf2b | |
parent | f64812e2c59271821eabefe8ac4b0aa49393eafa [diff] |
Have SkMipmap::Build return nullptr on mipmap allocation failure This method is already allowed to return nullptr (and does so if the factory function version's allocation fails) so let it do so if the mipmaps can't be allocated. Bug: chromium:1488128 Change-Id: If523e34ac3942f4c305bea34b33ee983fb61b570 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/762401 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>