diff options
author | Brian Osman <brianosman@google.com> | 2018-04-09 15:30:35 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-10 11:17:27 +0000 |
commit | ec172aac2c41175582c15edf4d31460e0e6c244f (patch) | |
tree | 3f678843c526d3d6f1c986306f00833f836b158a /src | |
parent | 6b40b1ee32ef962ed051c3547f0d65e83c91481d (diff) |
Remove SkDEBUGFAIL for non-invertible XYZ matrix
We have a reasonable fallback for this (extremely unlikely) scenario.
Bug: chromium:819192
Change-Id: I7a9a28c067fb029fd1000e1eeb488ede688fc3b2
Reviewed-on: https://skia-review.googlesource.com/119945
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkColorSpace_XYZ.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/SkColorSpace_XYZ.cpp b/src/core/SkColorSpace_XYZ.cpp index adfe3f6608..17462a117a 100644 --- a/src/core/SkColorSpace_XYZ.cpp +++ b/src/core/SkColorSpace_XYZ.cpp @@ -42,7 +42,6 @@ const SkMatrix44* SkColorSpace_XYZ::onFromXYZD50() const { if (!fToXYZD50.invert(&fFromXYZD50)) { // If a client gives us a dst gamut with a transform that we can't invert, we will // simply give them back a transform to sRGB gamut. - SkDEBUGFAIL("Non-invertible XYZ matrix, defaulting to sRGB"); SkMatrix44 srgbToxyzD50(SkMatrix44::kUninitialized_Constructor); srgbToxyzD50.set3x3RowMajorf(gSRGB_toXYZD50); srgbToxyzD50.invert(&fFromXYZD50); |