Merge latest Skia into master (1 commits)
https://skia.googlesource.com/skia.git/+log/d4bdee5..8dadd9e
Test: Presubmit checks will test this change.
Change-Id: I7ffc13e7c8ef0ea7d26e3461e00b742a60788ab4
diff --git a/src/core/SkImageInfoPriv.h b/src/core/SkImageInfoPriv.h
index 72138ae..029aa93 100644
--- a/src/core/SkImageInfoPriv.h
+++ b/src/core/SkImageInfoPriv.h
@@ -69,9 +69,11 @@
return false;
}
- if (kOpaque_SkAlphaType == dst.alphaType() && kOpaque_SkAlphaType != src.alphaType()) {
- return false;
- }
+ // FIXME (msarett): This is commented out until a fix to Chrome's gfx_unittest lands.
+ // In those tests, they write kPremul pixels to a kOpaque canvas.
+ //if (kOpaque_SkAlphaType == dst.alphaType() && kOpaque_SkAlphaType != src.alphaType()) {
+ // return false;
+ //}
return true;
}