Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index 5946b9ae6f293fcadc43d73ba2758eee8cc4bb92..ec07a8ff0ed42b8872fb78bdbd3296632180b84a 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -2182,8 +2182,8 @@ void SkPDFDevice::internalDrawBitmap(const SkMatrix& origMatrix, |
return; |
} |
- SkAutoTUnref<SkPDFImage> image( |
- SkPDFImage::CreateImage(*bitmap, subset, fEncoder)); |
+ SkAutoTUnref<SkPDFObject> image( |
+ SkPDFCreateImageObject(*bitmap, subset, fEncoder)); |
if (!image) { |
return; |
} |