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

Unified Diff: dm/DM.cpp

Issue 1401093002: Enable more testing for scaled webps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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 | « no previous file | no next file » | no next file with comments »
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 e616c187047350bd673a243116ce1aab5a8822e1..4b32d2fc1a9549eb20d23f8eb2a2113ac8f339da 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -325,12 +325,6 @@ static void push_codec_srcs(Path path) {
0.6f, 0.625f, 0.750f, 0.8f, 0.875f, 1.0f };
for (float scale : samplingScales) {
- if (scale != 1.0f && (path.endsWith(".webp") || path.endsWith(".WEBP"))) {
- // FIXME: skbug.com/4038 Scaling webp seems to leave some pixels uninitialized/
- // compute their colors based on uninitialized values.
- continue;
- }
-
for (uint32_t i = 0; i < numColorTypes; i++) {
push_codec_src(path, CodecSrc::kScaledCodec_Mode, colorTypes[i], scale);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698