angler-fishThe Vulnerability History Project

use tryAllocPixels to check the result, allocPixels to require success

      This is a pending API change in Skia, but call-sites need to stop relying on the return-result of allocPixels first.

Required for chrome CL https://codereview.chromium.org/545513002/

for web/tests
TBR=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181381 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    
commit cc7b4497bba5520a962000eeec68e9904b89353e
+2 -2
+1 -1
+1 -1
+3 -3
+2 -2
+28 -28
+1 -1
+1 -1
+1 -1
+2 -2
+1 -1
expand_less