Index: src/pdf/SkPDFImage.cpp |
diff --git a/src/pdf/SkPDFImage.cpp b/src/pdf/SkPDFImage.cpp |
index f2b105d473ced808fb802874aa9e133245a5b495..a99c9fe3903cb438df878a2760768a90cd8a5abe 100644 |
--- a/src/pdf/SkPDFImage.cpp |
+++ b/src/pdf/SkPDFImage.cpp |
@@ -610,9 +610,9 @@ SkPDFImage::SkPDFImage(SkStream* stream, |
SkASSERT(!isAlpha); |
SkAutoTUnref<SkPDFInt> zeroVal(new SkPDFInt(0)); |
SkAutoTUnref<SkPDFScalar> scale5Val( |
- new SkPDFScalar(SkFloatToScalar(8.2258f))); // 255/2^5-1 |
+ new SkPDFScalar(8.2258f)); // 255/2^5-1 |
SkAutoTUnref<SkPDFScalar> scale6Val( |
- new SkPDFScalar(SkFloatToScalar(4.0476f))); // 255/2^6-1 |
+ new SkPDFScalar(4.0476f)); // 255/2^6-1 |
SkAutoTUnref<SkPDFArray> decodeValue(new SkPDFArray()); |
decodeValue->reserve(6); |
decodeValue->append(zeroVal.get()); |