content: ozone: Limit web cursor size to 64x64
commit9b580384b806134526d7baf6f5f6eff19a8eafdd
authorspang <spang@chromium.org>
Thu, 2 Apr 2015 19:25:17 +0000 (2 12:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Apr 2015 19:28:18 +0000 (2 19:28 +0000)
tree692ff32c319c46c6981fc57b5381c32fc66ad567
parentc7a75aeddfe2641826a5d7b3c699b0efb5584fa6
content: ozone: Limit web cursor size to 64x64

This is the maximum some Chrome OS hardware can support and the maximum
that we historically allowed in X11 builds (see SkBitmapToXcursorImage).
This gives us consistent behavior to what we had before (except that it
only scales once instead of twice).

BUG=471357
TEST=davidwalsh.name/demo/css-custom-cursor.php on link & inspector
     color picker cursors are scaled down instead of cropped

Review URL: https://codereview.chromium.org/1055533006

Cr-Commit-Position: refs/heads/master@{#323549}
content/common/cursors/webcursor_ozone.cc