aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TessellatingPathRendererTests.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-06-24 10:42:16 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-24 10:42:16 -0700
commit8acedde5970ce70de6d9791ffeda87a65af4ed07 (patch)
tree98c806fb10afa72890eaf0f1cbdf63bfe9feda63 /tests/TessellatingPathRendererTests.cpp
parentc2fde8b2272cf80c79414e01451689ffd971b348 (diff)
Use GrShape in GrPathRenderer.
Diffstat (limited to 'tests/TessellatingPathRendererTests.cpp')
-rw-r--r--tests/TessellatingPathRendererTests.cpp4
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);
}