diff options
author | Cary Clark <caryclark@skia.org> | 2018-03-20 15:53:27 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-20 20:20:20 +0000 |
commit | 06c20f356ddfcf95385c5d5ca9bf4428a7a16b81 (patch) | |
tree | c893c7616fc985d9c805e4fd42e63450085f9e59 /tools/bookmaker/bookmaker.cpp | |
parent | 8a05601d0c544acef70b8b5e5f7ebe3f1b1747cf (diff) |
more SkImageInfo docs
fix a couple of fiddles with changed output
rewrite some SkSurface image makers
move towards replacing SkImageInfo.h
R=caryclark@google.com
Docs-Preview: https://skia.org/?cl=115163
Bug: skia:6898
Change-Id: Id9895b051cd457336c30250a69cf95359d1d34d7
Reviewed-on: https://skia-review.googlesource.com/115163
Commit-Queue: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'tools/bookmaker/bookmaker.cpp')
-rw-r--r-- | tools/bookmaker/bookmaker.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/bookmaker/bookmaker.cpp b/tools/bookmaker/bookmaker.cpp index 91e4cc2b23..4016a19439 100644 --- a/tools/bookmaker/bookmaker.cpp +++ b/tools/bookmaker/bookmaker.cpp @@ -154,6 +154,9 @@ bool BmhParser::addDefinition(const char* defStart, bool hasEnd, MarkType markTy if (!this->popParentStack(definition)) { return false; } + if (fRoot == definition) { + fRoot = nullptr; + } } else { definition->fStart = defStart; this->skipSpace(); @@ -1051,6 +1054,9 @@ bool BmhParser::findDefinitions() { const char* lastMC = nullptr; fParent = nullptr; while (!this->eof()) { + if (195 == fLineCount && "docs\\SkImageInfo_Reference.bmh" == fFileName) { + SkDebugf(""); + } if (this->peek() == fMC) { lastMC = fChar; this->next(); |