aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-10-27 15:55:31 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-30 11:47:28 +0000
commit511a9d49998ec6a74c375e6cfc55f660f7987c40 (patch)
treeaeed4483c6c5ef50f6bbf7b9b9272a737161811f /dm/DM.cpp
parent2d8d196318a62f1985fc313395695b7c92a6af0f (diff)
Fix GrDefaultPathRender inversely wound path bug
Bug: 769898 Change-Id: I3b1a43b1e114b35105493a0cfa01a1f01b65fa56 Reviewed-on: https://skia-review.googlesource.com/64065 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 00bcf6ab33..8fffd68f8f 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -1282,8 +1282,11 @@ static void run_test(skiatest::Test test, const GrContextOptions& grCtxOptions)
} reporter;
if (!FLAGS_dryRun && !is_blacklisted("_", "tests", "_", test.name)) {
+ GrContextOptions options = grCtxOptions;
+ test.modifyGrContextOptions(&options);
+
start("unit", "test", "", test.name);
- GrContextFactory factory(grCtxOptions);
+ GrContextFactory factory(options);
test.run(&reporter, &factory);
}
done("unit", "test", "", test.name);