Assert fDeviceClipBounds is always empty when clip is empty
authormsarett <msarett@google.com>
Sun, 14 Aug 2016 20:51:16 +0000 (13:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Sun, 14 Aug 2016 20:51:16 +0000 (13:51 -0700)
commit0c685ee188a5e500df25a34fa6edfceb4cbb795c
tree8902eb17cc42519f3f61ba4e953eb24662a07e2f
parent40ff5fe59b77b0b3e34467cc2f8666e4e88356f9
Assert fDeviceClipBounds is always empty when clip is empty

I've fixed a few issues where this assert triggers.  The
nastiest case is when the client sets the clip to a strange
version of an empty rect (Ex: L,T,R,B=0,0,0,10).

I think I've made sufficient fixes so that
fDeviceClipBounds is always empty when clip is empty.

Let's test it though.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2246503003

Review-Url: https://codereview.chromium.org/2246503003
src/core/SkCanvas.cpp