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

Unified Diff: tools/SkBitmapRegionSampler.h

Issue 1425833002: Add NewFromStream and getEncodedFormat to BitmapRegionDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@brd-design
Patch Set: Created 5 years, 2 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 | « tools/SkBitmapRegionDecoderInterface.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « tools/SkBitmapRegionDecoderInterface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698