Index: src/codec/SkCodec_libpng.cpp |
diff --git a/src/codec/SkCodec_libpng.cpp b/src/codec/SkCodec_libpng.cpp |
index 2e543424b18aa4423928abc10891829dd3b85f2d..2ba2d5bb9f2bed42209d9c2ca5b0ce4ce127bba0 100644 |
--- a/src/codec/SkCodec_libpng.cpp |
+++ b/src/codec/SkCodec_libpng.cpp |
@@ -739,8 +739,8 @@ public: |
bool onReallyHasAlpha() const override { return fHasAlpha; } |
- bool onRequiresPostYSampling() override { |
- return true; |
+ SkScanlineOrder onGetScanlineOrder() const override { |
+ return kNone_SkScanlineOrder; |
} |
SkEncodedFormat onGetEncodedFormat() const override { |