aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 8fffd68f8f..00bcf6ab33 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -1282,11 +1282,8 @@ 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(options);
+ GrContextFactory factory(grCtxOptions);
test.run(&reporter, &factory);
}
done("unit", "test", "", test.name);