aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-19 18:19:01 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-19 18:19:01 +0000
commit183e34b906372a31ef9a807cfa1c75579d9206d8 (patch)
treed7fc190f4aa7288d2c4c9e5c593a5ff768b32713 /src
parentfb51afb03e76c5701fffaa847584a8b7b2c18a7e (diff)
Speculative fix for Chrome bug in SkClipStack::isWideOpen
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrContext.cpp2
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());
}
////////////////////////////////////////////////////////////////////////////////