From edfe6703fae3becc53feed27c4fa09a95ea7e19d Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Tue, 20 Feb 2018 14:33:13 -0500 Subject: 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 Reviewed-by: Cary Clark --- tools/bookmaker/mdOut.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/bookmaker') 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)); -- cgit v1.2.3