diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-19 18:19:01 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-19 18:19:01 +0000 |
commit | 183e34b906372a31ef9a807cfa1c75579d9206d8 (patch) | |
tree | d7fc190f4aa7288d2c4c9e5c593a5ff768b32713 /src | |
parent | fb51afb03e76c5701fffaa847584a8b7b2c18a7e (diff) |
Speculative fix for Chrome bug in SkClipStack::isWideOpen
https://codereview.appspot.com/6743048/
git-svn-id: http://skia.googlecode.com/svn/trunk@6019 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 1ea2906410..81f9717274 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -569,7 +569,7 @@ void GrContext::setClip(const GrClipData* clipData) { fGpu->setClip(clipData); fDrawState->setState(GrDrawState::kClip_StateBit, - clipData->fClipStack && !clipData->fClipStack->isWideOpen()); + clipData && clipData->fClipStack && !clipData->fClipStack->isWideOpen()); } //////////////////////////////////////////////////////////////////////////////// |