commit | da884c49e29ab99fcc81e906db1dbce8f34ae008 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Wed Feb 24 18:00:23 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 24 18:00:23 2016 -0800 |
tree | 75583f6ac3cfaf5970603dea8cba998be9e4aa41 | |
parent | 7d57124a2a9ed7b271568fb75b3cfd949fdb313a [diff] [blame] |
DM: assert we ran as many tasks as we thought we would BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1731783003 Review URL: https://codereview.chromium.org/1731783003
diff --git a/dm/DM.cpp b/dm/DM.cpp index 762d0b8..5c27c45 100644 --- a/dm/DM.cpp +++ b/dm/DM.cpp
@@ -1192,6 +1192,9 @@ parallel.wait(); gDefinitelyThreadSafeWork.wait(); + // We'd better have run everything. + SkASSERT(gPending == 0); + // At this point we're back in single-threaded land. sk_tool_utils::release_portable_typefaces();