diff options
author | 2014-09-05 13:21:42 -0700 | |
---|---|---|
committer | 2014-09-05 13:21:42 -0700 | |
commit | 7260d7292bde966f038b8e166f3fe41ddd8f2099 (patch) | |
tree | 3d9b99787563075762d70a6a22db9a9989dcbcfa /tools/skpdiff | |
parent | 52e9d63f7110ac691609660342cdab32082a4235 (diff) |
For certain input skpdiff segfaulted. This prevents the segfault and should fix the failed test in housekeeping.
BUG=skia:2902
R=mtklein@google.com, rmistry@google.com
Author: stephana@google.com
Review URL: https://codereview.chromium.org/546753003
Diffstat (limited to 'tools/skpdiff')
-rw-r--r-- | tools/skpdiff/SkDiffContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/skpdiff/SkDiffContext.cpp b/tools/skpdiff/SkDiffContext.cpp index 78d8400968..4248ca3b56 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) { |