Patch to fix NULL ptr dereference in 8171 on Linux
TBR=junov@google.com git-svn-id: http://skia.googlecode.com/svn/trunk@8175 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
604a56ad42
commit
35e1563380
@ -529,7 +529,9 @@ static void apply_optimization_to_bbh(PictureRecordOptType opt, SkPictureStateTr
|
||||
SkBBoxHierarchy* boundingHierarchy) {
|
||||
switch (opt) {
|
||||
case kCollapseSaveLayer_OptType:
|
||||
stateTree->saveCollapsed();
|
||||
if (NULL != stateTree) {
|
||||
stateTree->saveCollapsed();
|
||||
}
|
||||
break;
|
||||
case kRewind_OptType:
|
||||
if (NULL != boundingHierarchy) {
|
||||
|
Loading…
Reference in New Issue
Block a user