SkWuffsCodec: Initialize when incomplete part 3
Bug: skia:8767
Bug: oss-fuzz:13020
Follow on to https://skia-review.googlesource.com/c/skia/+/189866
Even if the dirty_rect is not empty, it's possible there is still some
memory we need to initialize. No need to look at the dirty_rect at all;
if the image is interlaced, the dirty_rect could fill the frame even if
it doesn't touch all rows.
Restore the old location of dirty_rect. It is no longer needed this early.
Change-Id: Ie571a80dda3b83f248d87188dbaf139f94c17252
Reviewed-on: https://skia-review.googlesource.com/c/193027
Auto-Submit: Leon Scroggins <scroggo@google.com>
Reviewed-by: Nigel Tao <nigeltao@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
1 file changed