commit | 209c1624addaa7f7e63b79d286bd350342740a00 | [log] [tgz] |
---|---|---|
author | halcanary <halcanary@google.com> | Mon Sep 28 07:29:39 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Sep 28 07:29:39 2015 -0700 |
tree | 3183579a35136669a8d5d7f74384925923fcd6fb | |
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