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

Unified Diff: src/pdf/SkPDFDevice.h

Issue 2185803003: SkPdf: SkPDFFormXObject de-class-ified. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-07-27 (Wednesday) 17:00:53 EDT Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFDevice.h
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h
index 6a167d979ac9e2869cfcf09d58d87192a04ba042..d5d52f98e350a93d8f64e664f325f9aed5c917d0 100644
--- a/src/pdf/SkPDFDevice.h
+++ b/src/pdf/SkPDFDevice.h
@@ -29,8 +29,8 @@ class SkPDFDevice;
class SkPDFDocument;
class SkPDFDict;
class SkPDFFont;
-class SkPDFFormXObject;
class SkPDFObject;
+class SkPDFStream;
class SkRRect;
/** \class SkPDFDevice
@@ -268,10 +268,10 @@ private:
void init();
void cleanUp();
- SkPDFFormXObject* createFormXObjectFromDevice();
+ sk_sp<SkPDFObject> makeFormXObjectFromDevice();
void drawFormXObjectWithMask(int xObjectIndex,
- SkPDFFormXObject* mask,
+ SkPDFObject* mask,
const SkClipStack* clipStack,
const SkRegion& clipRegion,
SkXfermode::Mode mode,
@@ -286,9 +286,9 @@ private:
const SkMatrix& matrix,
const SkPaint& paint,
bool hasText,
- SkPDFFormXObject** dst);
+ SkPDFObject** dst);
void finishContentEntry(SkXfermode::Mode xfermode,
- SkPDFFormXObject* dst,
+ SkPDFObject* dst,
SkPath* shape);
bool isContentEmpty();
« no previous file with comments | « no previous file | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698