projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d57124
)
DM: assert we ran as many tasks as we thought we would
author
mtklein
<mtklein@chromium.org>
Thu, 25 Feb 2016 02:00:23 +0000
(18:00 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Thu, 25 Feb 2016 02:00:23 +0000
(18:00 -0800)
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
dm/DM.cpp
patch
|
blob
|
history
diff --git
a/dm/DM.cpp
b/dm/DM.cpp
index
762d0b8
..
5c27c45
100644
(file)
--- a/
dm/DM.cpp
+++ b/
dm/DM.cpp
@@
-1192,6
+1192,9
@@
int dm_main() {
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();