Index: src/pdf/SkPDFPage.cpp |
diff --git a/src/pdf/SkPDFPage.cpp b/src/pdf/SkPDFPage.cpp |
index cfb6790876f1bba7ce5839c78e2353e6bf890aa7..cd05c9f59cd0fed650901f5dc121290d534ffd46 100644 |
--- a/src/pdf/SkPDFPage.cpp |
+++ b/src/pdf/SkPDFPage.cpp |
@@ -49,7 +49,7 @@ void SkPDFPage::finalizePage(SkPDFCatalog* catalog, bool firstPage, |
off_t SkPDFPage::getPageSize(SkPDFCatalog* catalog, off_t fileOffset) { |
SkASSERT(fContentStream.get() != NULL); |
catalog->setFileOffset(fContentStream.get(), fileOffset); |
- return fContentStream->getOutputSize(catalog, true); |
+ return SkToOffT(fContentStream->getOutputSize(catalog, true)); |
} |
void SkPDFPage::emitPage(SkWStream* stream, SkPDFCatalog* catalog) { |