use SkCanvas::ClipOp
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2583 Change-Id: I651e2c278bb4d2df08b6e134c734c5403c7e7ff7 Reviewed-on: https://skia-review.googlesource.com/2583 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
parent
623ef92e4f
commit
1cd88c4b75
@ -45,7 +45,7 @@ void complex_clips_draw(SkCanvas* canvas, int32_t left, int32_t top,
|
||||
canvas->drawColor(SK_ColorBLUE);
|
||||
canvas->restore();
|
||||
|
||||
canvas->clipRegion(localRegion, (SkRegion::Op) clipOp);
|
||||
canvas->clipRegion(localRegion, (SkCanvas::ClipOp) clipOp);
|
||||
canvas->drawColor(SK_ColorBLUE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user