Guarding it into a no-op makes it safe. Looks like this is only used for debugging, presumably singlethreaded?
BUG=
R=caryclark@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/
25366002
git-svn-id: http://skia.googlecode.com/svn/trunk@11562
2bbb7eff-a529-9590-31e7-
b0007b416f81
SkPathOpsDebug::gMaxWindSum = 4;
SkPathOpsDebug::gMaxWindValue = 4;
#endif
+#if DEBUG_SHOW_TEST_NAME
testName = test;
size_t testNameSize = strlen(test);
SkFILEStream inFile("../../experimental/Intersection/op.htm");
testNumber = atoi(numLoc) + 1;
}
}
+#endif
return reporter->allowThreaded() ? SkThreadPool::kThreadPerCore : 1;
}