Index: tests/PMFloatTest.cpp |
diff --git a/tests/PMFloatTest.cpp b/tests/PMFloatTest.cpp |
index 13c0a120b861b6ca3fa49ecdd0f6abb31c11eefa..f370b39c664a5a5bc2a5dc23ab49309b2fc2ba75 100644 |
--- a/tests/PMFloatTest.cpp |
+++ b/tests/PMFloatTest.cpp |
@@ -24,7 +24,7 @@ DEF_TEST(SkPMFloat, r) { |
// Test SkPMFloat <-> Sk4f conversion. |
Sk4f fs = clamped; |
- SkPMFloat scaled = fs.multiply(0.25f); |
+ SkPMFloat scaled = fs.multiply(Sk4f(0.25f)); |
REPORTER_ASSERT(r, SkScalarNearlyEqual(63.75f, scaled.a())); |
REPORTER_ASSERT(r, SkScalarNearlyEqual(38.25f, scaled.r())); |
REPORTER_ASSERT(r, SkScalarNearlyEqual( 0.25f, scaled.g())); |