Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: bench/benchmain.cpp

Issue 150513005: impl getROPixels for gpu SkImage (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/image/SkImage_Gpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « no previous file | src/image/SkImage_Gpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698