DescriptionFix race condition causing DCHECK(ack_pending_) to trip.
If RenderFrameImpl deletes a RenderAccessibilityImpl and then recreates
another one very quickly, that second RenderAccessibilityImpl can get
confused when it receives an ACK intended for the previous instance.
Fix this by passing an ACK token from the renderer to browser and ignoring
messages with the wrong token.
This only caused issues when DCHECKs are enabled.
BUG=646588
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/50aa111be5288fbc06b54e09d2cafd4dd294a315
Cr-Commit-Position: refs/heads/master@{#418902}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rebase #Patch Set 3 : Fix typo #Patch Set 4 : Rebase #Patch Set 5 : Update test #
Messages
Total messages: 33 (21 generated)
|