summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_posix.cc
diff options
context:
space:
mode:
authornewt <newt@chromium.org>2015-10-07 13:51:17 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-07 20:51:55 +0000
commit4b0739defcac390878c6a692a387be2b3fb65e29 (patch)
tree0bdd1ea0621f189825223b28b8e9a6a34a72a158 /ipc/ipc_channel_posix.cc
parentc6e5c539b545cb115d23a05016f19dcb71a03ea7 (diff)
downloadchromium_src-4b0739defcac390878c6a692a387be2b3fb65e29.zip
chromium_src-4b0739defcac390878c6a692a387be2b3fb65e29.tar.gz
chromium_src-4b0739defcac390878c6a692a387be2b3fb65e29.tar.bz2
[Android] Fix most visited thumbnail scaling.
This fixes a bug where thumbnails for most visited sites on the NTP were incorrectly scaled and cropped. Previously, these thumbnails were just cutouts of the upper left corner of the page. Now, the thumbnails are scaled down screenshots of the entire page, just like on desktop. This change moves some of the capturing logic from the Java side of ThumbnailTabHelper to the C++ side, and eliminates some roundtrips between C++ and Java. Of special note, we're no longer converting thumbnails from SkBitmaps to Java Bitmaps and back to SkBitmaps before storing them in the thumbnail database. BUG=534668 Review URL: https://codereview.chromium.org/1393673002 Cr-Commit-Position: refs/heads/master@{#352937}
Diffstat (limited to 'ipc/ipc_channel_posix.cc')
0 files changed, 0 insertions, 0 deletions