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

Unified Diff: dm/DM.cpp

Issue 1785613010: Add SkImageGeneratorWIC (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Response to comments 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 | « no previous file | dm/DMSrcSink.cpp » ('j') | src/ports/SkImageGeneratorWIC.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index d1768aa32b788f80a3cca0a575c078e092764b03..b87ee12d506ab84b04d9fcf464cf0689597545a0 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -597,6 +597,12 @@ static void push_codec_srcs(Path path) {
{
push_image_gen_src(path, ImageGenSrc::kPlatform_Mode, alphaType, false);
}
+#elif defined(SK_BUILD_FOR_WIN)
+ if (kWEBP_SkEncodedFormat != codec->getEncodedFormat() &&
+ kWBMP_SkEncodedFormat != codec->getEncodedFormat())
+ {
+ push_image_gen_src(path, ImageGenSrc::kPlatform_Mode, alphaType, false);
+ }
#endif
}
}
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | src/ports/SkImageGeneratorWIC.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698