diff options
author | 2018-01-02 11:34:14 -0500 | |
---|---|---|
committer | 2018-01-02 17:00:40 +0000 | |
commit | 61ca7c56bd79fe0a6cc32e943874ff5e3e5bf220 (patch) | |
tree | c459d20ef42f5dcb82a0b0113152f54413c4119d /tools/bookmaker/bookmaker.cpp | |
parent | e2d4e8f276ba8aee57f071e87e85f04a6a07addf (diff) |
update image doc and minor bookmaker fixes
image doc is still a work in progress.
Update online version to latest; updating
include header is still a ways off.
Remove SkPaint::flatten() example since
parameter is not publicly accessible.
Minor changes to fix typedef and std::function
references.
TBR=rmistry@google.com
Docs-Preview: https://skia.org/?cl=87120
Bug: skia:6898
Change-Id: I3553bc5fca97c5997aa61ea034b5ca10cb10df75
Reviewed-on: https://skia-review.googlesource.com/87120
Reviewed-by: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'tools/bookmaker/bookmaker.cpp')
-rw-r--r-- | tools/bookmaker/bookmaker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bookmaker/bookmaker.cpp b/tools/bookmaker/bookmaker.cpp index b4db36a2e1..2677621ee1 100644 --- a/tools/bookmaker/bookmaker.cpp +++ b/tools/bookmaker/bookmaker.cpp @@ -1074,8 +1074,8 @@ string TextParser::typedefName() { if (!end) { return this->reportError<string>("missing typedef std::function end bracket >"); } - - if (this->startsWith("std::function")) { + bool stdFunction = this->startsWith("std::function"); + if (stdFunction) { if (!this->skipToEndBracket('>')) { return this->reportError<string>("missing typedef std::function end bracket >"); } |