commit | a3b45d4f7db953472df4f11ab1595964b65175f9 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Mon Oct 03 11:36:16 2016 -0400 |
committer | Brian Salomon <bsalomon@google.com> | Mon Oct 03 19:32:07 2016 +0000 |
tree | 51526b965f6394e5361e6a90ebef7559c26c14ea | |
parent | 14f984bc6bdb4327c3f577b7ccbc61a710443288 [diff] [blame] |
Move clip CTM application to SkRasterClip and SkClipStack GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2866 Change-Id: I914a57d6ba128acc457e12586c99ba6766eb940c Reviewed-on: https://skia-review.googlesource.com/2866 Reviewed-by: Mike Reed <reed@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
diff --git a/tests/ClipBoundsTest.cpp b/tests/ClipBoundsTest.cpp index 0373b89..fd3e191 100644 --- a/tests/ClipBoundsTest.cpp +++ b/tests/ClipBoundsTest.cpp
@@ -26,7 +26,7 @@ // create a clip stack that will (trivially) reduce to a single rect that // is larger than the screen SkClipStack stack; - stack.clipDevRect(clipRect, SkCanvas::kReplace_Op, false); + stack.clipRect(clipRect, SkMatrix::I(), SkCanvas::kReplace_Op, false); bool isIntersectionOfRects = true; SkRect devStackBounds;