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

Unified Diff: dm/DMSrcSink.cpp

Issue 1830163002: https://codereview.chromium.org/1830973002 fixed this bug. Re-enable the (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « dm/DM.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMSrcSink.cpp
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp
index 78782a086629ce6f33477ec8ceeee3a54f841543..1cffb3cfb574de16de5702b2c201e0e88290bb13 100644
--- a/dm/DMSrcSink.cpp
+++ b/dm/DMSrcSink.cpp
@@ -831,10 +831,6 @@ Error ImageGenSrc::draw(SkCanvas* canvas) const {
// Test deferred decoding path on GPU
if (fIsGpu) {
- // FIXME: The gpu backend does not draw kGray sources correctly. (skbug.com/4822)
- // We have disabled these tests in DM.cpp.
- SkASSERT(kGray_8_SkColorType != gen->getInfo().colorType());
-
sk_sp<SkImage> image(SkImage::MakeFromGenerator(gen.release(), nullptr));
if (!image) {
return "Could not create image from codec image generator.";
« no previous file with comments | « dm/DM.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698