Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2013 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 #include "SkPdfContext.h" | |
| 9 #include "SkPdfNativeTokenizer.h" | |
| 10 | |
| 11 SkPdfContext::SkPdfContext(SkPdfNativeDoc* doc) | |
| 12 : fPdfDoc(doc) | |
| 13 , fTmpPageAllocator(new SkPdfAllocator()) { | |
| 14 } | |
| 15 | |
| 16 SkPdfContext::~SkPdfContext() { | |
| 17 delete fTmpPageAllocator; | |
| 18 } | |
| OLD | NEW |