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

Unified Diff: src/pdf/SkPDFDocument.h

Issue 1823683005: SkPDF: Hold page objects, not SkPDFDevices. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-03-22 (Tuesday) 17:16:46 EDT Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pdf/SkPDFDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFDocument.h
diff --git a/src/pdf/SkPDFDocument.h b/src/pdf/SkPDFDocument.h
index 0528d76e1aa5aad50002c297c32b07fbe6d13144..c036981a27c01d89bafeadd3b979cccb48feaf7e 100644
--- a/src/pdf/SkPDFDocument.h
+++ b/src/pdf/SkPDFDocument.h
@@ -9,7 +9,7 @@
#include "SkDocument.h"
#include "SkPDFMetadata.h"
-#include "SkPDFTypes.h"
+#include "SkPDFFont.h"
class SkPDFDevice;
@@ -72,7 +72,10 @@ public:
private:
SkPDFObjectSerializer fObjectSerializer;
SkPDFCanon fCanon;
- SkTArray<sk_sp<const SkPDFDevice>> fPageDevices;
+ SkPDFGlyphSetMap fGlyphUsage;
+ SkTArray<sk_sp<SkPDFDict>> fPages;
+ sk_sp<SkPDFDict> fDests;
+ sk_sp<SkPDFDevice> fPageDevice;
sk_sp<SkCanvas> fCanvas;
SkScalar fRasterDpi;
SkPDFMetadata fMetadata;
« no previous file with comments | « no previous file | src/pdf/SkPDFDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698