DescriptionOilpan: HRTF dababase loader thread should be attached to Oilpan
When the main thread passes a pointer of GarbageCollected object to a
HRTFDatabase thread (via postTask), the HRTFDatabase thread creates
a CrossThreadPersistent handle for the pointer. However, this is not
allowed because the HRTFDatabase thread is not attached to Oilpan.
We should attach the HRTFDatabase thread to Oilpan.
This CL removes MutexLocker from HRTFDatabase's destructor since we don't need to clear m_htrfDatabase in the destructor.
BUG=427303
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185024
Patch Set 1 #
Total comments: 2
Messages
Total messages: 10 (3 generated)
|