Refactor ImageDocument::UpdateImageStyle()
This moves the determination of the mouse cursor to a separate method, dropping the associated state in the process. Drop the ShouldShrinkToFit() check in ImageLoaded(). This will have no direct effect at the moment, but will aid a future CL. Bug: 844743 Change-Id: Iae464e999668f7f77b13e03018e801c3885fb6f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2461268 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#815246}
Showing
Please register or sign in to comment