check for null-device in iterator
git-svn-id: http://skia.googlecode.com/svn/trunk@3251 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
2afbf07495
commit
f68c5e2f9f
@ -232,8 +232,8 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
if (NULL != fCurrLayer) {
|
||||
const DeviceCM* rec = fCurrLayer;
|
||||
const DeviceCM* rec = fCurrLayer;
|
||||
if (rec && rec->fDevice) {
|
||||
|
||||
fMatrix = rec->fMatrix;
|
||||
fClip = &((SkRasterClip*)&rec->fClip)->forceGetBW();
|
||||
|
Loading…
Reference in New Issue
Block a user