DescriptionSVGPath object "mutability" cleanup
Move addToSVGPathByteStream to SVGPath.cpp (the only place using it),
rename it to addPathByteStreams. Move the "regular" blending out into a
helper(blendPathByteStreams), and eliminate the redundant copy. Make the
functions more "functional" (return the result.)
Add a (private) setter for byte-stream data and use that to ensure
invalidation of the cached path. Also add an SVGPath::create(...)
accepting a SVGPathByteStream and use that in PathSVGInterpolation.
Inline mutableByteStream into the remaining user.
Committed: https://crrev.com/3bb121da7ff1f82996caaa73339ec41cf3672cea
Cr-Commit-Position: refs/heads/master@{#361128}
Patch Set 1 #Patch Set 2 : Template fail. #
Total comments: 2
Patch Set 3 : Rebase; byteStreamWillChange->byteStreamChanged; Drop some includes. #
Messages
Total messages: 10 (4 generated)
|