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

Unified Diff: experimental/PdfViewer/SkPdfGraphicsState.cpp

Issue 77763007: Move SkPdfContext into its own files. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/PdfViewer/SkPdfGraphicsState.h ('k') | experimental/PdfViewer/inc/SkPdfContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/SkPdfGraphicsState.cpp
diff --git a/experimental/PdfViewer/SkPdfGraphicsState.cpp b/experimental/PdfViewer/SkPdfGraphicsState.cpp
index 2a01b14b90991a70045285827c09ab1ccfae59ae..b52f22ccc71c340e2e880eec2a6500b4798aedb8 100644
--- a/experimental/PdfViewer/SkPdfGraphicsState.cpp
+++ b/experimental/PdfViewer/SkPdfGraphicsState.cpp
@@ -8,16 +8,6 @@
#include "SkPdfGraphicsState.h"
#include "SkDashPathEffect.h"
-#include "SkPdfNativeTokenizer.h"
-
-SkPdfContext::SkPdfContext(SkPdfNativeDoc* doc)
- : fPdfDoc(doc)
- , fTmpPageAllocator(new SkPdfAllocator()) {
-}
-
-SkPdfContext::~SkPdfContext() {
- delete fTmpPageAllocator;
-}
void SkPdfGraphicsState::applyGraphicsState(SkPaint* paint, bool stroking) {
if (stroking) {
« no previous file with comments | « experimental/PdfViewer/SkPdfGraphicsState.h ('k') | experimental/PdfViewer/inc/SkPdfContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698