Remove SkImageMinRowBytes
authorscroggo <scroggo@google.com>
Fri, 18 Dec 2015 14:56:01 +0000 (06:56 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Dec 2015 14:56:01 +0000 (06:56 -0800)
commitdb7dc09e526e815ade242e3dcb066693c42c8bda
tree81c413bb1f8119f9ae0fe6ff727f609dfbd258af
parentb81cecad379908160aebd0811616b011988c6df2
Remove SkImageMinRowBytes

As stated in the comments in crrev.com/1379193002, this method name is
misleading. It returns a larger number than the minimum rowbytes - it
increases to the next four-byte alignment. This has the effect that the
one place that calls it does not support 565 (which is not already
four-byte aligned), but does not serve any other purpose. Remove it and
the only call-site.

BUG=skia:4396
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1528383004

Review URL: https://codereview.chromium.org/1528383004
src/image/SkImagePriv.h
src/image/SkImage_Raster.cpp
tests/ImageFrom565Bitmap.cpp [new file with mode: 0644]