diff options
author | bsalomon <bsalomon@google.com> | 2016-06-24 10:42:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-24 10:42:16 -0700 |
commit | 8acedde5970ce70de6d9791ffeda87a65af4ed07 (patch) | |
tree | 98c806fb10afa72890eaf0f1cbdf63bfe9feda63 /tests/TessellatingPathRendererTests.cpp | |
parent | c2fde8b2272cf80c79414e01451689ffd971b348 (diff) |
Use GrShape in GrPathRenderer.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2081383006
Review-Url: https://codereview.chromium.org/2081383006
Diffstat (limited to 'tests/TessellatingPathRendererTests.cpp')
-rw-r--r-- | tests/TessellatingPathRendererTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TessellatingPathRendererTests.cpp b/tests/TessellatingPathRendererTests.cpp index 51ccef9329..16cf7b223c 100644 --- a/tests/TessellatingPathRendererTests.cpp +++ b/tests/TessellatingPathRendererTests.cpp @@ -248,8 +248,8 @@ static void test_path(GrDrawContext* drawContext, GrResourceProvider* rp, const args.fResourceProvider = rp; args.fColor = GrColor_WHITE; args.fViewMatrix = &SkMatrix::I(); - args.fPath = &path; - args.fStyle = &style; + GrShape shape(path, style); + args.fShape = &shape; args.fAntiAlias = false; tess.drawPath(args); } |