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

Unified Diff: src/pdf/SkPDFCatalog.h

Issue 936403002: PDF: why do we have flags no one uses (or can use)? (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase 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/SkPDFBitmap.cpp ('k') | src/pdf/SkPDFCatalog.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFCatalog.h
diff --git a/src/pdf/SkPDFCatalog.h b/src/pdf/SkPDFCatalog.h
index 280da669636f215eb0b58f66fca1a0a212d4ac02..9175f6255fe3adb23e95b56b1c8fe4b80c008267 100644
--- a/src/pdf/SkPDFCatalog.h
+++ b/src/pdf/SkPDFCatalog.h
@@ -26,7 +26,7 @@ class SkPDFCatalog {
public:
/** Create a PDF catalog.
*/
- explicit SkPDFCatalog(SkPDFDocument::Flags flags);
+ SkPDFCatalog();
~SkPDFCatalog();
/** Add the passed object to the catalog. Refs obj.
@@ -48,10 +48,6 @@ public:
*/
int32_t getObjectNumber(SkPDFObject* obj);
- /** Return the document flags in effect for this catalog/document.
- */
- SkPDFDocument::Flags getDocumentFlags() const { return fDocumentFlags; }
-
/** Output the cross reference table for objects in the catalog.
* Returns the total number of objects.
* @param stream The writable output stream to send the output to.
@@ -106,8 +102,6 @@ private:
// Next object number to assign on the first page.
uint32_t fNextFirstPageObjNum;
- SkPDFDocument::Flags fDocumentFlags;
-
int findObjectIndex(SkPDFObject* obj);
int assignObjNum(SkPDFObject* obj);
« no previous file with comments | « src/pdf/SkPDFBitmap.cpp ('k') | src/pdf/SkPDFCatalog.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698