aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bookmaker/mdOut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bookmaker/mdOut.cpp')
-rw-r--r--tools/bookmaker/mdOut.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/bookmaker/mdOut.cpp b/tools/bookmaker/mdOut.cpp
index c14ac23a43..61692aa69c 100644
--- a/tools/bookmaker/mdOut.cpp
+++ b/tools/bookmaker/mdOut.cpp
@@ -1392,6 +1392,10 @@ void MdOut::subtopicOut(const TableContents& tableContents) {
break;
}
}
+ if (!oneLiner) {
+ SkDebugf(""); // convenient place to set a breakpoint
+ }
+ // TODO: detect this earlier? throw error here?
SkASSERT(oneLiner);
this->rowOut(entry.first.c_str(), string(oneLiner->fContentStart,
oneLiner->fContentEnd - oneLiner->fContentStart));