DescriptionSkBlockMemoryStream: 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.
Committed: https://skia.googlesource.com/skia/+/209c1624addaa7f7e63b79d286bd350342740a00
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|