commit | 00b29398901e556bf9f2854aa602c20f5e11deba | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Mon Nov 05 15:42:43 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Nov 06 13:34:25 2018 +0000 |
tree | fa7481277786af6eb43c173f18f7bba90edbbb4f | |
parent | e70c6b13dd5520f8a5470753d7b9327edb8fbd82 [diff] [blame] |
Remove some more GrColor references Bug: skia: Change-Id: I395395b1cd81a1d45ca779b2273015c8ed9fb882 Reviewed-on: https://skia-review.googlesource.com/c/168361 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
diff --git a/tests/ProcessorTest.cpp b/tests/ProcessorTest.cpp index d0da21f..e76099c 100644 --- a/tests/ProcessorTest.cpp +++ b/tests/ProcessorTest.cpp
@@ -576,8 +576,7 @@ } } } - if (GrColorIsOpaque(input) && fp->preservesOpaqueInput() && - !GrColorIsOpaque(output)) { + if (input4f.isOpaque() && fp->preservesOpaqueInput() && !output4f.isOpaque()) { passing = false; if (opaqueMessage.isEmpty()) {