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

Unified Diff: tools/skpdiff/SkDiffContext.cpp

Issue 546753003: Bugfix that cause skpdiff to segfault. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixed tools self tests Created 6 years, 3 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
Index: tools/skpdiff/SkDiffContext.cpp
diff --git a/tools/skpdiff/SkDiffContext.cpp b/tools/skpdiff/SkDiffContext.cpp
index 78d84009687424447f6f791b4ecea57d8c665789..4248ca3b560a9438c8df867eaa68a1b91332d640 100644
--- a/tools/skpdiff/SkDiffContext.cpp
+++ b/tools/skpdiff/SkDiffContext.cpp
@@ -289,6 +289,7 @@ void SkDiffContext::diffPatterns(const char baselinePattern[], const char testPa
runnableDiffs[x].setup(this, baselineEntries[x], testEntries[x]);
tg.add(&runnableDiffs[x]);
}
+ tg.wait();
}
void SkDiffContext::outputRecords(SkWStream& stream, bool useJSONP) {

Powered by Google App Engine
This is Rietveld 408576698