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

Unified Diff: tools/render_pictures_main.cpp

Issue 291843010: Call write() within render_pictures but not bench_pictures (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: disable write() calls except in render_pictures Created 6 years, 7 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 | « tools/PictureRenderer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/render_pictures_main.cpp
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp
index cbbca7ab22130bab2f1cfe84c368b258fe56a90f..e054acf67d797c74477ad05226c8a5bfc2638689 100644
--- a/tools/render_pictures_main.cpp
+++ b/tools/render_pictures_main.cpp
@@ -206,6 +206,7 @@ static bool render_picture_internal(const SkString& inputPath, const SkString* w
}
renderer.setup();
+ renderer.enableWrites();
bool success = renderer.render(out);
if (!success) {
« no previous file with comments | « tools/PictureRenderer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698