• Andrew Xu's avatar
    [Multipaste] Remove paddings of img placeholder · 966f31b6
    Andrew Xu authored
    Now the placeholder image's bounds are smaller than the available
    drawing area. It brings white lines around the placeholder image, which
    might be caused by the rendering code (note that we draw the placeholder
    image through gfx::Canvas's APIs) The specific reason is unknown yet,
    still under investigation. Given that the paddings of the placeholder
    image are not really needed, they are removed by this CL.
    
    Bug: 1163621
    Change-Id: Ibe309ea5044ab2c411917bb4ffd9d58c9d33bc5d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627433
    Commit-Queue: Andrew Xu <andrewxu@chromium.org>
    Auto-Submit: Andrew Xu <andrewxu@chromium.org>
    Reviewed-by: default avatarAlex Newcomer <newcomer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#843132}
    966f31b6
clipboard_history_resource_manager.cc 12.7 KB