I suspect that this will fix the failing golden image tests.
Bug: skia:
Change-Id: I9f88206ae782e6a04817e72cdfcb3e0c4bdaa293
Reviewed-on: https://skia-review.googlesource.com/17393
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
# Turn on a few Google3-specific build fixes.
"GOOGLE3",
# Staging flags for API changes
+ # Should remove after we update golden images
+ "SK_WEBP_ENCODER_USE_DEFAULT_METHOD",
# Temporarily Disable analytic AA for Google3
"SK_NO_ANALYTIC_AA",
]
// could potentially expose this to the client.
if (Compression::kLossy == opts.fCompression) {
webp_config.lossless = 0;
+#ifndef SK_WEBP_ENCODER_USE_DEFAULT_METHOD
webp_config.method = 3;
+#endif
} else {
webp_config.lossless = 1;
webp_config.method = 0;