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

Unified Diff: src/pdf/SkPDFStream.h

Issue 1041183002: SkPDF: remove SK_NO_FLATE & dead code in SkPDFStream (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-03-30 (Monday) 12:19:51 EDT Created 5 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 | « src/core/SkFlate.cpp ('k') | src/pdf/SkPDFStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFStream.h
diff --git a/src/pdf/SkPDFStream.h b/src/pdf/SkPDFStream.h
index bb38ba96cf37616e7b014acd0d0fccc4c3ea47ed..9a43e3c9efa3e9978c9fbe642bd1070b2ff1914e 100644
--- a/src/pdf/SkPDFStream.h
+++ b/src/pdf/SkPDFStream.h
@@ -50,11 +50,6 @@ protected:
kCompressed_State, //!< The stream's already been compressed.
};
- /** Create a PDF stream with the same content and dictionary entries
- * as the passed one.
- */
- explicit SkPDFStream(const SkPDFStream& pdfStream);
-
/* Create a PDF stream with no data. The setData method must be called to
* set the data.
*/
@@ -64,14 +59,6 @@ protected:
// fSubstitute should be used.
virtual bool populate(SkPDFCatalog* catalog);
- void setSubstitute(SkPDFStream* stream) {
- fSubstitute.reset(stream);
- }
-
- SkPDFStream* getSubstitute() const {
- return fSubstitute.get();
- }
-
void setData(SkData* data);
void setData(SkStream* stream);
@@ -81,16 +68,11 @@ protected:
fState = state;
}
- State getState() const {
- return fState;
- }
-
private:
// Indicates what form (or if) the stream has been requested.
State fState;
SkAutoTDelete<SkStreamRewindable> fDataStream;
- SkAutoTUnref<SkPDFStream> fSubstitute;
typedef SkPDFDict INHERITED;
};
« no previous file with comments | « src/core/SkFlate.cpp ('k') | src/pdf/SkPDFStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698