aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bookmaker
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-02-20 14:33:13 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-20 19:56:23 +0000
commitedfe6703fae3becc53feed27c4fa09a95ea7e19d (patch)
tree377c639078e6adc3a36ca4b86a3f365f4235ce48 /tools/bookmaker
parent0c3137c4f45ffbf09a41526e5eb96e12cc6f35ae (diff)
fix Rect doc
move the #Line directive to make bookmaker happy Docs-Preview: https://skia.org/?cl=108740 Bug: skia:6898 Change-Id: I8b993bab6b4f69cc266941e281a00a945f32f25e Reviewed-on: https://skia-review.googlesource.com/108740 Commit-Queue: Cary Clark <caryclark@skia.org> Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'tools/bookmaker')
-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));