diff options
author | Cary Clark <caryclark@google.com> | 2018-06-20 12:45:16 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-20 17:07:48 +0000 |
commit | 75fd449d81ab0b083ca97c5ae4dffb5cb9427fdb (patch) | |
tree | 974abd52cb35f283518924886cb73f51b6df9116 /tools/bookmaker | |
parent | 69162d0750b576e8f13e9303035d7e5e5e6e4d90 (diff) |
fix for new fiddle compiler
New compiler is stricter, requiring
some variable initialization, braces.
A bug in SkRect was fixed, changing
debug output.
TBR=jcgregario@google.com
Docs-Preview: https://skia.org/?cl=136179
Bug: skia:6898
Change-Id: I19ef1dab2d3154778d0613e7337fdcfb340dacc7
Reviewed-on: https://skia-review.googlesource.com/136179
Commit-Queue: Cary Clark <caryclark@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
Auto-Submit: Cary Clark <caryclark@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'tools/bookmaker')
-rw-r--r-- | tools/bookmaker/bookmaker.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/bookmaker/bookmaker.h b/tools/bookmaker/bookmaker.h index ecfbc99788..3616e2058f 100644 --- a/tools/bookmaker/bookmaker.h +++ b/tools/bookmaker/bookmaker.h @@ -1158,6 +1158,9 @@ public: } void indentOut() { + if (fIndent < 4) { // FIXME: hack until I can debug again + return; + } SkASSERT(fIndent >= 4); SkASSERT(fIndentStack.back().fIndent == fIndent); fIndent -= 4; |