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

Unified Diff: include/codec/SkScaledCodec.h

Issue 1332053002: Fill incomplete images in SkCodec parent class (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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
Index: include/codec/SkScaledCodec.h
diff --git a/include/codec/SkScaledCodec.h b/include/codec/SkScaledCodec.h
index 1bcdf085b213f7eaab1cb9d9eca51a491138c58f..113345b5c95d0d7ce261d8540a6b3b98d9cf71a2 100644
--- a/include/codec/SkScaledCodec.h
+++ b/include/codec/SkScaledCodec.h
@@ -59,6 +59,10 @@ protected:
return fScanlineDecoder->reallyHasAlpha();
}
+ uint32_t onGetFillValue(const SkImageInfo& dstInfo) const override;
+
+ void* onGetFillDst(void* dst, size_t dstRowBytes, uint32_t decodedScanlines) const override;
+
private:
SkAutoTDelete<SkScanlineDecoder> fScanlineDecoder;

Powered by Google App Engine
This is Rietveld 408576698