commit | 69b27b55d1e7079a36ea9fd16c1803360b8c2ff6 | [log] [tgz] |
---|---|---|
author | Jose Dapena Paz <jdapena@igalia.com> | Tue Feb 09 16:29:15 2021 +0100 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Feb 11 14:27:26 2021 +0000 |
tree | 09e82bf877bf9716417665d69651ba65b9c1243e | |
parent | 441b33fe0ecc537489d6c8ec11cbc69719c09910 [diff] |
GOLD: workaround static constexpr linking problem with SkImageFilters::CropRect::kNoCropRect Skia linking fails in GOLD because of missing instanciation of kNoCropRect in SkImageFilters::CropRect. This breaks compilation of skia_renderer service. More details of this kind of issue in GOLD can be seen in https://chromium-review.googlesource.com/c/chromium/src/+/2436824 To workaround this, we move the declaration from being a member of a struct to a namespace constexpr. bug: chromium:819294 Change-Id: I52e98be440d05236df886b6ff83b84f29cbe7edd Reviewed-on: https://skia-review.googlesource.com/c/skia/+/335537 Reviewed-by: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>