Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index 90f0a4a7c8a448b7280510c24507164c1e811e92..d628508c5d15d4ffe8efb76a32351f77674e34d5 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -17,10 +17,10 @@ |
#include "SkPaint.h" |
#include "SkPath.h" |
#include "SkPathOps.h" |
+#include "SkPDFBitmap.h" |
#include "SkPDFFont.h" |
#include "SkPDFFormXObject.h" |
#include "SkPDFGraphicState.h" |
-#include "SkPDFImage.h" |
#include "SkPDFResourceDict.h" |
#include "SkPDFShader.h" |
#include "SkPDFStream.h" |
@@ -2135,7 +2135,7 @@ void SkPDFDevice::internalDrawBitmap(const SkMatrix& origMatrix, |
} |
SkAutoTUnref<SkPDFObject> image( |
- SkPDFCreateImageObject(fCanon, *bitmap, subset)); |
+ SkPDFBitmap::Create(fCanon, *bitmap, subset)); |
if (!image) { |
return; |
} |