DescriptionSwitch SkPDFStream's internal storage from SkStream to SkData
Motivation: This makes SkPDFStream thread-safe for two threads
serializing it at once, since a SkStream has an internal position.
Updated SkPDFFont, SkPDFGraphicState, and SkPDFPage's use of
SkPDFStream to use the SkData constructor rather than the SkStream
constructor (saving a memcpy).
BUG=skia:2683
Committed: https://skia.googlesource.com/skia/+/c1dfa14b645ae274780f026dd86c9b633fbdad06
Committed: https://skia.googlesource.com/skia/+/67ec1f8eecfb48bc0a6ba04c0057f103c1c9696f
Patch Set 1 #
Total comments: 9
Patch Set 2 : AnotherPatchSet #
Total comments: 14
Patch Set 3 : AnotherPatchSet #Patch Set 4 : AnotherPatchSet #
Total comments: 14
Patch Set 5 : AnotherPatchSet #Patch Set 6 : AnotherPatchSet #
Total comments: 2
Patch Set 7 : AnotherPatchSet #Patch Set 8 : images/SkStreamHelpers -> core/SkStreamPriv #
Total comments: 1
Patch Set 9 : rebase #
Messages
Total messages: 26 (0 generated)
|