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

Unified Diff: src/pdf/SkPDFImage.h

Issue 870333002: Simplify reference management in SkPDF (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: make Created 5 years, 10 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 | « src/pdf/SkPDFGraphicState.cpp ('k') | src/pdf/SkPDFImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFImage.h
diff --git a/src/pdf/SkPDFImage.h b/src/pdf/SkPDFImage.h
index a4bc548920cd0d523eafd67806a4c9268e89020b..24332cd02df572b09a0137b0d51b1a7cc9062d9b 100644
--- a/src/pdf/SkPDFImage.h
+++ b/src/pdf/SkPDFImage.h
@@ -54,20 +54,10 @@ public:
virtual ~SkPDFImage();
- /** Add a Soft Mask (alpha or shape channel) to the image. Refs mask.
- * @param mask A gray scale image representing the mask.
- * @return The mask argument is returned.
- */
- SkPDFImage* addSMask(SkPDFImage* mask);
-
bool isEmpty() {
return fSrcRect.isEmpty();
}
- // The SkPDFObject interface.
- virtual void getResources(const SkTSet<SkPDFObject*>& knownResourceObjects,
- SkTSet<SkPDFObject*>* newResourceObjects);
-
private:
SkBitmap fBitmap;
bool fIsAlpha;
@@ -75,8 +65,6 @@ private:
SkPicture::EncodeBitmap fEncoder;
bool fStreamValid;
- SkTDArray<SkPDFObject*> fResources;
-
/** Create a PDF image XObject. Entries for the image properties are
* automatically added to the stream dictionary.
* @param stream The image stream. May be NULL. Otherwise, this
« no previous file with comments | « src/pdf/SkPDFGraphicState.cpp ('k') | src/pdf/SkPDFImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698