Index: src/gpu/GrEffect.cpp |
diff --git a/src/gpu/GrEffect.cpp b/src/gpu/GrEffect.cpp |
index 1ada34f3729332ab5dd1751b4e2aaf7211832f68..a64fd7c4bbe3a411c4692d0d2200da0eb5bb5bbd 100644 |
--- a/src/gpu/GrEffect.cpp |
+++ b/src/gpu/GrEffect.cpp |
@@ -33,8 +33,8 @@ const SkMatrix& TestMatrix(SkRandom* random) { |
gMatrices[3].postTranslate(SkIntToScalar(66), SkIntToScalar(-33)); |
gMatrices[3].postScale(SkIntToScalar(2), SK_ScalarHalf); |
gMatrices[4].setRotate(SkIntToScalar(215)); |
- gMatrices[4].set(SkMatrix::kMPersp0, SkFloatToScalar(0.00013f)); |
- gMatrices[4].set(SkMatrix::kMPersp1, SkFloatToScalar(-0.000039f)); |
+ gMatrices[4].set(SkMatrix::kMPersp0, 0.00013f); |
+ gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f); |
gOnce = true; |
} |
return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; |