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

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

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 | « third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
index 4f5baec3aaca935e218d3efc0bd7f9a64304d510..a05cb9ae5de1f2920dfed88bf8dd9506412f8596 100644
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
@@ -52,6 +52,10 @@ DecodingImageGenerator::DecodingImageGenerator(
DecodingImageGenerator::~DecodingImageGenerator() {}
+bool DecodingImageGenerator::onIsEncoded() const {
+ return true;
+}
+
SkData* DecodingImageGenerator::onRefEncodedData(GrContext* ctx) {
TRACE_EVENT0("blink", "DecodingImageGenerator::refEncodedData");
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698