skia2/dm
fmalita acd2f5cddc Fix 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

Review-Url: https://codereview.chromium.org/2482123003
2016-11-08 07:13:45 -08:00
..
DM.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00
DMGpuSupport.h Remove SkSurfaceProps gamma-correctness flag entirely. 2016-07-26 11:36:05 -07:00
DMJsonWriter.cpp Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07:00
DMJsonWriter.h Add gamma_correct option field to dm.json 2016-02-29 07:38:01 -08:00
DMSrcSink.cpp Fix DM race in SVGSrc 2016-11-08 07:13:45 -08:00
DMSrcSink.h Fix DM race in SVGSrc 2016-11-08 07:13:45 -08:00
DMSrcSinkAndroid.cpp fix android dm compile 2016-11-07 16:39:47 +00:00
DMSrcSinkAndroid.h Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00