WebApp: Extract BookmarkAppHelper's gfx stuff into a separate file.
Extract all the low-level skia/gfx/color_util stuff as ResizeIconsAndGenerateMissing function. This is a cut-and-paste CL, no behavior changes. Notes: - WebApplicationInfo::IconInfo becomes IconInfo. TODO for next CL: Merge IconInfo and BitmapAndSource - they are essentially the same. - BookmarkAppHelperExtensionServiceTest.LinkedAppIconsAreNotChanged test was always broken (a bug in ValidateAllIconsWithURLsArePresent helper) https://codereview.chromium.org/1066623008/patch/80001/90005 This is a re-land of: https://chromium-review.googlesource.com/c/chromium/src/+/1166751 MSan issue solved, ouput parameters initialized everywhere: SkColor generated_icon_color = SK_ColorTRANSPARENT; TBR=ortuno@chromium.org Bug: 860581 Change-Id: Ib26c765083e67e3a1c938a49994a5f5d5ecc8265 Reviewed-on: https://chromium-review.googlesource.com/1170665 Commit-Queue: Alexey Baskakov <loyso@chromium.org> Reviewed-by:Giovanni Ortuño Urquidi <ortuno@chromium.org> Reviewed-by:
Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#582491}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment