Android 9.0.0 release 58
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXwO7TAAKCRDorT+BmrEO
eCyZAJ9vJoonTTKXuaxIbvBATWVamwl9SQCfS0n9FpDqq91et51Qy1073NNb42Q=
=Uftr
-----END PGP SIGNATURE-----
RESTRICT AUTOMERGE: Make listener lists threadsafe with a mutex.

Bug: 124232283
Test: Infeasible

Cherry-pick of https://skia-review.googlesource.com/155060 in Skia

There were conflicts due the fact that pi-dev does not have commit
afa11586d782c7cb3e83b8af48023ff227349516 ("Make the SkPathRef
GenIDChangeListener ref counted") or
6c8d242b14355bf66c9137e9e4d6c7861d22168f ("Make atomic lists list for
bitmaps and paths" - an alternate fix for this issue) and some smaller
header file changes.

Change-Id: I7c2c5cd6603007d099169071a1b7d1a230c621bc
Merged-In: I91a8fbdd1b8fb4cf8b124ebdf17212c643058ef3
(cherry picked from commit bf999383abd128f8db32fc2f24606679280a5b7d)
4 files changed