diff options
Diffstat (limited to 'tests/ShaderOpacityTest.cpp')
-rw-r--r-- | tests/ShaderOpacityTest.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/ShaderOpacityTest.cpp b/tests/ShaderOpacityTest.cpp index e55560365a..506c7cd36a 100644 --- a/tests/ShaderOpacityTest.cpp +++ b/tests/ShaderOpacityTest.cpp @@ -103,11 +103,6 @@ static void test_color(skiatest::Reporter* reporter) REPORTER_ASSERT(reporter, colorShader2.isOpaque()); SkColorShader colorShader3(SkColorSetARGB(0x7F,0,0,0)); REPORTER_ASSERT(reporter, !colorShader3.isOpaque()); - - // with inherrited color, shader must declare itself as opaque, - // since lack of opacity will depend solely on the paint - SkColorShader colorShader4; - REPORTER_ASSERT(reporter, colorShader4.isOpaque()); } DEF_TEST(ShaderOpacity, reporter) { |