Index: tools/SkBitmapRegionSampler.h |
diff --git a/tools/SkBitmapRegionSampler.h b/tools/SkBitmapRegionSampler.h |
index be2d23961ee9aab8eda79852a666c15b7b6ea560..48bb23f8976199d549d4b8eb2436fa46a87636ab 100644 |
--- a/tools/SkBitmapRegionSampler.h |
+++ b/tools/SkBitmapRegionSampler.h |
@@ -34,6 +34,8 @@ public: |
return true; |
} |
+ SkEncodedFormat getEncodedFormat() override { return (SkEncodedFormat) fDecoder->getFormat(); } |
+ |
private: |
SkAutoTDelete<SkImageDecoder> fDecoder; |