DescriptionFix ChunkDemuxer seek and init callback dispatch.
This patch ensures that seek and init callbacks are always
dispatched from the message loop that initiated the Seek()
or Initialize() operation. This prevents reentrancy problems
and allows the code to jump through less locking hoops.
TESTS=All existing unittests and LayoutTests still pass.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207767
Patch Set 1 #
Total comments: 2
Patch Set 2 : Simplfy CancelPendingSeek() with DCHECK for expected preconditions. #
Total comments: 7
Patch Set 3 : Address CR comments. #Patch Set 4 : Make DCHECK in CancelPendingSeek() more restrictive. #
Total comments: 2
Patch Set 5 : Address CR comment #
Messages
Total messages: 9 (0 generated)
|