Do not create BmpMaskCodecs with invalid bits per pixel
authormsarett <msarett@google.com>
Wed, 17 Feb 2016 19:26:55 +0000 (11:26 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Feb 2016 19:26:56 +0000 (11:26 -0800)
commitd9ec32090e95cebc7c1bb7c4fe29bef54629ef2c
tree84a46f2659fba8fec0645cc936c647f6b5487b6c
parent6b3cf73af525fdbf6fd093304db840bb998e3dd6
Do not create BmpMaskCodecs with invalid bits per pixel

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

Review URL: https://codereview.chromium.org/1704063002
src/codec/SkBmpCodec.cpp