From: reed@google.com Date: Wed, 23 Feb 2011 21:47:37 +0000 (+0000) Subject: set the rgn to empty if the clipstack says empty (in our validate routine) X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~18930 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dca7acb2fe2df8db7b1e665f9e49677cb96e9c9c;p=platform%2Fupstream%2FlibSkiaSharp.git set the rgn to empty if the clipstack says empty (in our validate routine) git-svn-id: http://skia.googlecode.com/svn/trunk@843 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index 1ca31df..639c0d4 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -1016,7 +1016,7 @@ void SkCanvas::validateClip() const { clip->fRect->round(&ir); clipRgn.op(ir, clip->fOp); } else { - break; + clipRgn.setEmpty(); } }