From 183e34b906372a31ef9a807cfa1c75579d9206d8 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Fri, 19 Oct 2012 18:19:01 +0000 Subject: 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 --- src/gpu/GrContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); } //////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3