Upload bitmaps in SkShader* safely

Bug: 19412589
Change-Id: Id50c08ff523d5540f60c39b435c0ab1b4c685655
3 files changed