aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/skcms
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2018-04-26 15:26:19 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-26 20:26:43 +0000
commita7ae1fc04000ab68d2df8c594a864a623fc48df4 (patch)
tree2f5926c6899dd0f977a85e19243d1448b0e1b37c /third_party/skcms
parent9bb47cf0ffcf8a802c0126fa3ee2b5ee7287959b (diff)
Replace flatten with writeFlattenable for desc.
This replaces calls to SkFlattenable::flatten(SkWriteBuffer&) with calls to SkWriteBuffer::writeFlattenable(const SkFlattenable*) when creating the descriptor for an SkScalerContext. This adds the identifier of the flattenable to the descriptor to avoid collisions when two flattenables take the same (or no) parameters. This used to be enforced when the SkScalerContext re-created the flattenable from the descriptor, but since this is no longer required these possible collisions may occur. Change-Id: I2b7efebebf20ffcc0f2b58a081ff0c58158f7d70 Reviewed-on: https://skia-review.googlesource.com/124054 Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'third_party/skcms')
0 files changed, 0 insertions, 0 deletions