diff options
author | halcanary <halcanary@google.com> | 2015-09-28 07:29:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-28 07:29:39 -0700 |
commit | 209c1624addaa7f7e63b79d286bd350342740a00 (patch) | |
tree | 3183579a35136669a8d5d7f74384925923fcd6fb /include/core/SkFlattenable.h | |
parent | f1b7a1d82860e106ed7d3e0e876419e65783fb84 (diff) |
SkBlockMemoryStream: correct test in getMemoryBase().
The test "nullptr == fBlockMemory->fHead->fNext" tests that
all of the data is in one block, but it is also necessary to
test "fBlockMemory->fHead" to ensure that there is a first
block with data in it.
Review URL: https://codereview.chromium.org/1374493002
Diffstat (limited to 'include/core/SkFlattenable.h')
0 files changed, 0 insertions, 0 deletions