Index: tests/PathOpsIssue3651.cpp |
diff --git a/tests/PathOpsIssue3651.cpp b/tests/PathOpsIssue3651.cpp |
index 574bec09c3441aaefeb952e69d83ceb76c0caf72..bd4ed2d9ab4054900d61014bc4455a7b357ce9da 100644 |
--- a/tests/PathOpsIssue3651.cpp |
+++ b/tests/PathOpsIssue3651.cpp |
@@ -473,7 +473,8 @@ static void issue3651_1a(skiatest::Reporter* reporter, const char* filename) { |
SkPath path = path1_a(); |
SkPath pathB = path2_a(); |
// DEBUG_UNDER_DEVELOPMENT issue3651_1a disable expectation check for now |
- testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, !FLAGS_runFail); |
+ testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, |
+ !SkOpGlobalState::DebugRunFail()); |
} |
static SkPath path3() { |
@@ -1204,7 +1205,8 @@ static void issue3651_1(skiatest::Reporter* reporter, const char* filename) { |
SkPath path = path1(); |
SkPath pathB = path2(); |
// DEBUG_UNDER_DEVELOPMENT issue3651_1 disable expectation check for now |
- testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, !FLAGS_runFail); |
+ testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, |
+ !SkOpGlobalState::DebugRunFail()); |
} |
static void issue3651_2(skiatest::Reporter* reporter, const char* filename) { |