aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.old
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-28 13:13:56 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-28 13:13:56 +0000
commitc7d624ec535adcc388cad35b3475872b08cd90c0 (patch)
tree9b267d1a2882fc76ec37bece7f0b0955c5b82fc0 /Makefile.old
parent454ae46814541cb10ee72217ef4102869254f7eb (diff)
check texture is not NULL to aovid segmentation fault. If the texture created by GrLockAndRefCachedBitmapTexture() is NULL, ColorTableEffect::Create will cause segmentation fault by GrAssert in src/gpu/GrTextureAccess.cpp. The simple patch checked texture to avoid segment fault, and returned a NULL effect to the caller. The caller will handle NULL effect, for example, it will set default effect.
R=bsalomon@google.com, robertphillips@google.com Author: yunchao.he@intel.com Review URL: https://chromiumcodereview.appspot.com/15824003 git-svn-id: http://skia.googlecode.com/svn/trunk@9287 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'Makefile.old')
0 files changed, 0 insertions, 0 deletions