Index: experimental/PdfViewer/SkPdfBasics.cpp |
=================================================================== |
--- experimental/PdfViewer/SkPdfBasics.cpp (revision 10235) |
+++ experimental/PdfViewer/SkPdfBasics.cpp (working copy) |
@@ -0,0 +1,12 @@ |
+#include "SkPdfBasics.h" |
+#include "SkPdfNativeTokenizer.h" |
+ |
+PdfContext::PdfContext(SkNativeParsedPDF* doc) |
+ : fPdfDoc(doc) |
+ , fTmpPageAllocator(new SkPdfAllocator()) { |
+} |
+ |
+PdfContext::~PdfContext() { |
+ delete fTmpPageAllocator; |
+} |
+ |