Chromium Code Reviews
Description[Autofill] Close mojo interface bindings of autofill/password agent in time.
As for AutofillAgent, Password{Autofill,Generation}Agent, their destructions
are asynchronous with destructions of corresponding render frame.
Thus, even after corresponding render frame has been deleted, they can still
keep alive for some while and still able to receive mojo messages which maybe
lead to use-after-delete access on the render frame.
To solve above problem, this CL closes the mojo interface bindings immediatelly
when render frame got destroyed.
BUG=641156
Review-Url: https://codereview.chromium.org/2320993002
Cr-Commit-Position: refs/heads/master@{#417286}
(cherry picked from commit 7e8c85b79831bb59427ffc5b229bc08470f619ef)
Committed: https://chromium.googlesource.com/chromium/src/+/2524a5f430bcc8cbc1e8d0c47c5047ba696c7f04
Patch Set 1 #
Messages
Total messages: 3 (1 generated)
|
|||||||||||||||||||||||||||||||||||||