aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkMultiPictureDocument.h
diff options
context:
space:
mode:
authorGravatar csmartdalton <csmartdalton@google.com>2016-07-22 08:39:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-22 08:39:06 -0700
commitd50e2401787dc5632453293b65f8255b12450b9b (patch)
treec3ed5f0ea2ea09e325e823af2f16f1f7fc4992cf /src/utils/SkMultiPictureDocument.h
parentaec570e2d72cbb861be18dddd1a472b93f3b87d0 (diff)
Fix SkClipStack bug with inverse-filled difference elements
Previously, SkClipStack would call "setEmpty" on itself when an inverse-filled difference element made the stack empty. This was a problem because setEmpty would forget the element had an inverse fill, yet leave the op as "difference". This change modifies it to manually update the clip bounds and set the gen-ID to kEmptyGenID, rather than calling setEmpty. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2175493002 Review-Url: https://codereview.chromium.org/2175493002
Diffstat (limited to 'src/utils/SkMultiPictureDocument.h')
0 files changed, 0 insertions, 0 deletions