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

Unified Diff: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h

Issue 2434243003: Add onIsEncoded to image decoders. (Closed)
Patch Set: Created 4 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 | « no previous file | third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h
diff --git a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h
index fb2a0732b6c982abb84fd3caa256da1750a08dc5..0ddd77edb497a5e5abd92cf0ebe6c7b57eb52a2b 100644
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h
@@ -65,6 +65,8 @@ class PLATFORM_EXPORT DecodingImageGenerator final : public SkImageGenerator {
void setCanYUVDecode(bool yes) { m_canYUVDecode = yes; }
protected:
+ bool onIsEncoded() const override;
+
SkData* onRefEncodedData(GrContext* ctx) override;
bool onGetPixels(const SkImageInfo&,
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698