| commit | 89f3ec0b38a89137f78c1c40c351fc64db8b1668 | [log] [tgz] |
|---|---|---|
| author | Michael Reed <mike@reedtribe.org> | Tue Sep 09 11:48:25 2025 -0400 |
| committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Sep 09 10:15:20 2025 -0700 |
| tree | c58bf9f00cf4adaae8add4170555e39d9511c8f9 | |
| parent | cf3487820d13fdbc58630b853dfb04d983fbc664 [diff] |
Migrate SkTLazy usage to std::optional - eventually delete SkTLazy A.set(B) --> A = B A.init(...) --> A.emplace(...) A.get() --> &A.value() A.isValid() --> A.has_value() A.getMaybeNull() --> SkOptAddressOrNull(A) Change-Id: I07e14f40ccb8e01db9070c72a637ac1099e68cd5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1052677 Reviewed-by: Kaylee Lubick <kjlubick@google.com> Reviewed-by: Daniel Dilan <danieldilan@google.com> Commit-Queue: Mike Reed <mike@reedtribe.org>