aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/Intersection/EdgeWalker_TestUtility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/Intersection/EdgeWalker_TestUtility.cpp')
-rw-r--r--experimental/Intersection/EdgeWalker_TestUtility.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/experimental/Intersection/EdgeWalker_TestUtility.cpp b/experimental/Intersection/EdgeWalker_TestUtility.cpp
index de5967cd95..f0af4f4346 100644
--- a/experimental/Intersection/EdgeWalker_TestUtility.cpp
+++ b/experimental/Intersection/EdgeWalker_TestUtility.cpp
@@ -12,7 +12,6 @@
#include "SkStream.h"
#include <algorithm>
-#include <assert.h>
#include <errno.h>
#include <pthread.h>
#include <unistd.h>
@@ -581,7 +580,11 @@ void outputToStream(const State4& state, const char* pathStr, const char* pathPr
outFile.writeText("static void ");
writeTestName(nameSuffix, outFile);
- outFile.writeText("() {\n SkPath path;\n");
+ outFile.writeText("() {\n SkPath path");
+ if (!pathPrefix) {
+ outFile.writeText(", pathB");
+ }
+ outFile.writeText(";\n");
if (pathPrefix) {
outFile.writeText(pathPrefix);
}