| Index: src/pdf/SkPDFDevice.cpp
|
| diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
|
| index 804dc410747dd561ed6d584723b7826d48d4de7e..bdabc53f0f13a629d54fe0acf87251d48b8fb575 100644
|
| --- a/src/pdf/SkPDFDevice.cpp
|
| +++ b/src/pdf/SkPDFDevice.cpp
|
| @@ -745,7 +745,7 @@ SkPDFDevice::SkPDFDevice(const SkISize& pageSize, const SkISize& contentSize,
|
| fLastMarginContentEntry(NULL),
|
| fClipStack(NULL),
|
| fEncoder(NULL),
|
| - fRasterDpi(SkFloatToScalar(72.0f)) {
|
| + fRasterDpi(72.0f) {
|
| // Just report that PDF does not supports perspective in the
|
| // initial transform.
|
| NOT_IMPLEMENTED(initialTransform.hasPerspective(), true);
|
| @@ -776,7 +776,7 @@ SkPDFDevice::SkPDFDevice(const SkISize& layerSize,
|
| fLastMarginContentEntry(NULL),
|
| fClipStack(NULL),
|
| fEncoder(NULL),
|
| - fRasterDpi(SkFloatToScalar(72.0f)) {
|
| + fRasterDpi(72.0f) {
|
| fInitialTransform.reset();
|
| this->init();
|
| }
|
|
|