| edisonn@google.com | 2ccc3af | 2013-07-23 17:43:18 +0000 | [diff] [blame^] | 1 | #include "SkPdfBasics.h" |
| 2 | #include "SkPdfNativeTokenizer.h" | ||||
| 3 | |||||
| 4 | PdfContext::PdfContext(SkNativeParsedPDF* doc) | ||||
| 5 | : fPdfDoc(doc) | ||||
| 6 | , fTmpPageAllocator(new SkPdfAllocator()) { | ||||
| 7 | } | ||||
| 8 | |||||
| 9 | PdfContext::~PdfContext() { | ||||
| 10 | delete fTmpPageAllocator; | ||||
| 11 | } | ||||
| 12 | |||||