Index: tests/SkColor4fTest.cpp |
diff --git a/tests/SkColor4fTest.cpp b/tests/SkColor4fTest.cpp |
index ea9a80f134f3f4120fa4d68da5361266af7b0d56..c9656b9b2a0f3933f1d93a04e68d2aa391c37f92 100644 |
--- a/tests/SkColor4fTest.cpp |
+++ b/tests/SkColor4fTest.cpp |
@@ -157,8 +157,7 @@ DEF_TEST(Color4f_shader, reporter) { |
SkShader::ContextRec::kPM4f_DstType); |
SkASSERT(paint.getShader()->contextSize(contextRec) <= sizeof(storage)); |
SkShader::Context* ctx = paint.getShader()->createContext(contextRec, storage); |
- REPORTER_ASSERT(reporter, ctx->supports4f() == rec.fSupports4f); |
- if (ctx->supports4f()) { |
+ if (rec.fSupports4f) { |
reed1
2016/02/24 03:01:13
I think we can even skip this, since all shaders "
|
const int N = 100; |
SkPM4f buffer4f[N]; |
ctx->shadeSpan4f(0, 0, buffer4f, N); |