Animated WebP: Optimize decoding in case of seeking
In case of WebP, it can be inferred whether an animation frame contains
alpha without decoding the frame.
WebP also has a mode where a frame overwrites the corresponding
rectangle on the previous frame.
These two were added to Chromium here:
https://codereview.chromium.org/22802020/
So, we optimize findRequiredPreviousFrame() for cases when a frame is
known to be opaque or it overwrites pixels on the previous frame.
BUG=
229641
Committed:
https://src.chromium.org/viewvc/blink?view=rev&revision=156723