commit | b746b1f59851b7af10fe91b4974872ec98b34d7f | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Wed Jan 06 08:43:51 2021 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jan 06 19:05:00 2021 +0000 |
tree | 9f2af7067f2e77618950506577cf567cdad3662b | |
parent | c294b82260950c15c2c7307f7d6cc710ad98490e [diff] [blame] |
Pass sampling to surface.draw Bug: skia:7650 Change-Id: I97941a44faa4176f94d57a9c1626ac36b0c0c4ea Reviewed-on: https://skia-review.googlesource.com/c/skia/+/350557 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Mike Reed <reed@google.com>
diff --git a/gm/fatpathfill.cpp b/gm/fatpathfill.cpp index bd82d17..0dd2b57 100644 --- a/gm/fatpathfill.cpp +++ b/gm/fatpathfill.cpp
@@ -41,7 +41,7 @@ surface->getCanvas()->clear(SK_ColorTRANSPARENT); surface->getCanvas()->drawPath(path, paint); - surface->draw(canvas, 0, 0, nullptr); + surface->draw(canvas, 0, 0); paint.setAntiAlias(true); paint.setColor(SK_ColorRED);