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

Unified Diff: include/codec/SkCodec.h

Issue 1212593003: Destroy SkScanlineDecoder in the SkCodec subclass destructors (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 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 | include/codec/SkScanlineDecoder.h » ('j') | src/codec/SkJpegCodec.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/codec/SkCodec.h
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index 2e47a261f3924f2b018d988af56440f4310de2d3..ca3b65ce0e11afb043a11ef9a600cbcff81e657f 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -177,6 +177,15 @@ protected:
return fStream.get();
}
+ /*
+ *
+ * Get method for the scanline decoder
reed1 2015/06/29 21:21:49 nit: lets have the comment be slightly more useful
msarett 2015/06/29 21:59:43 Done.
+ *
+ */
+ SkScanlineDecoder* scanlineDecoder() {
+ return fScanlineDecoder.get();
+ }
+
private:
SkAutoTDelete<SkStream> fStream;
bool fNeedsRewind;
« no previous file with comments | « no previous file | include/codec/SkScanlineDecoder.h » ('j') | src/codec/SkJpegCodec.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698