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

Unified Diff: src/codec/SkSampledCodec.h

Issue 1518743002: Add reallyHasAlpha() to SkAndroidCodec (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Change comment on onReallyHasAlpha Created 5 years 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/codec/SkAndroidCodec.cpp ('k') | src/codec/SkSampledCodec.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkSampledCodec.h
diff --git a/src/codec/SkSampledCodec.h b/src/codec/SkSampledCodec.h
index b3a59126d26c003997cb6426959e49a54e1098f0..35e4f571d0d1aee61c9c9671a8d8e28a6655d3b7 100644
--- a/src/codec/SkSampledCodec.h
+++ b/src/codec/SkSampledCodec.h
@@ -23,8 +23,6 @@ public:
protected:
- SkEncodedFormat onGetEncodedFormat() const override { return fCodec->getEncodedFormat(); };
-
SkISize onGetSampledDimensions(int sampleSize) const override;
bool onGetSupportedSubset(SkIRect* desiredSubset) const override { return true; }
@@ -57,8 +55,6 @@ private:
SkCodec::Result sampledDecode(const SkImageInfo& info, void* pixels, size_t rowBytes,
const AndroidOptions& options);
- SkAutoTDelete<SkCodec> fCodec;
-
typedef SkAndroidCodec INHERITED;
};
#endif // SkSampledCodec_DEFINED
« no previous file with comments | « src/codec/SkAndroidCodec.cpp ('k') | src/codec/SkSampledCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698