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 Bug: 860581 Change-Id: I0d866ac323f8dfdb409b69b22fac796155b1da23 Reviewed-on: https://chromium-review.googlesource.com/1166751 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@{#581827}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment