Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: experimental/PdfViewer/SkPdfBasics.cpp

Issue 19793011: (upload draf code for backup) pdfviewer: improve memory, son't allocate extra buffers, and put the … (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « experimental/PdfViewer/SkPdfBasics.h ('k') | experimental/PdfViewer/SkPdfConfig.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkPdfBasics.h ('k') | experimental/PdfViewer/SkPdfConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698