Index: bench/benchmain.cpp |
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp |
index 49ef00de6aab111771fd708ca2376e6535fdea2d..13241e9867e0afbb58522f721a982324531aa80c 100644 |
--- a/bench/benchmain.cpp |
+++ b/bench/benchmain.cpp |
@@ -154,7 +154,7 @@ static void saveFile(const char name[], const char config[], const char dir[], |
SkString path = SkOSPath::SkPathJoin(dir, filename.c_str()); |
::remove(path.c_str()); |
- SkFILEWStream stream(filename.c_str()); |
+ SkFILEWStream stream(path.c_str()); |
stream.write(data->data(), data->size()); |
} |