commit | 02b1128b03e3abd529ec50421bac34acc571282b | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Mon Aug 10 15:25:24 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Aug 10 19:55:14 2020 +0000 |
tree | 5f737f48d9bdf7f2ae2ab8e684fd6e2f0891ad8e | |
parent | 5b68ed4c5168fef351ff7b896410aa7efa2ae016 [diff] |
Replace SkSL string macros with inline constexpr char arrays. C++17 introduced `inline constexpr` as a mechanism for declaring strings in headers safely without macros. See https://abseil.io/tips/168 Change-Id: I68071fbadebf32753ca4a0586b96e32634083f6a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309047 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>