DescriptionFix DM race in SVGSrc
The SVG source currently attempts to build the DOM lazily, in response
to draw() or size() calls. But apprently DM may call these
concurrently.
Build the DOM in the constructor instead, to avoid races (and the need
for synchronization).
R=robertphillips@google.com,mtklein@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2482123003
Committed: https://skia.googlesource.com/skia/+/acd2f5cddc631d5008a04da483d630968df307c9
Patch Set 1 #Patch Set 2 : parse error message tweak #
Messages
Total messages: 18 (11 generated)
|