Index: src/doc/SkDocument_PDF.cpp |
diff --git a/src/doc/SkDocument_PDF.cpp b/src/doc/SkDocument_PDF.cpp |
index 0b62e2c74ee2d6b6d6b005870256b36237493df4..e812cd5cf300cf215ba7ba68b0f76a313357101d 100644 |
--- a/src/doc/SkDocument_PDF.cpp |
+++ b/src/doc/SkDocument_PDF.cpp |
@@ -9,7 +9,6 @@ |
#include "SkPDFCanon.h" |
#include "SkPDFDevice.h" |
#include "SkPDFFont.h" |
-#include "SkPDFResourceDict.h" |
#include "SkPDFStream.h" |
#include "SkPDFTypes.h" |
#include "SkStream.h" |
@@ -64,7 +63,7 @@ static void perform_font_subsetting( |
static SkPDFDict* create_pdf_page(const SkPDFDevice* pageDevice) { |
SkAutoTUnref<SkPDFDict> page(SkNEW_ARGS(SkPDFDict, ("Page"))); |
- SkAutoTUnref<SkPDFResourceDict> deviceResourceDict( |
+ SkAutoTUnref<SkPDFDict> deviceResourceDict( |
pageDevice->createResourceDict()); |
page->insert("Resources", deviceResourceDict.get()); |