DescriptionRelax the assert in SkReadBuffer::setPictureVersion().
I'm hitting this with SkPictureShader serialization because there can be
multiple pictures deserialized from the same buffer.
I think we can relax the assert to allow setting the same version
multiple times.
(Alternatively, we could guard all the callers - but since setting the
same version is a no-op, that seems overkill)
R=mtklein@google.com, reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=14089
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|