blink/images: Centralize decision for using YUV decoding.
YUV decoding is currently hardcoded to jpegs and the decision is spilled to a couple of places. Since we want to add it for WebP, centralize it to DeferredImageDecoder which makes the decision at paint time based on whether it is supported by the ImageDecoder implementation for each format. R=pdr@chromium.org Change-Id: I156d397c578c45a1490385aecbd96546c4ce798b Reviewed-on: https://chromium-review.googlesource.com/c/1320750Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#606263}
Showing
Please register or sign in to comment