Commit a9162d6d authored by danakj's avatar danakj Committed by Chromium LUCI CQ

Use skia.mojom.BitmapN32 in ImageDownloader mojoms

These bitmaps are safer for transport from untrustworthy sources since
all bitmaps should be in N32 format and the browser can make bad
assumptions as a result.

R=dcheng@chromium.org

Bug: 1144462
Change-Id: I1d55e3df22e9b16427de44ba229a1ce05528c6d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2572997Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833951}
parent 56fb8c54
......@@ -21,6 +21,6 @@ interface ImageDownloader {
uint32 max_bitmap_size,
bool bypass_cache)
=> (int32 http_status_code,
array<skia.mojom.BitmapWithArbitraryBpp> images,
array<skia.mojom.BitmapN32> images,
array<gfx.mojom.Size> original_image_sizes);
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment