DescriptionFix crash when showing multiple popups.
The problem is that calling hide/cancel on a popup is async.
With two popups, you would get
Previously:
SHOW A
HIDE A
SHOW B
NOTIFY SELECTION A
HIDE B
NOTIFY SELECTION B
When notifying the selection of A in the above scenario, it was
clearing the frame pointer (and actually updating the wrong popup).
Then when hiding the second popup, it's reference was actually gone
already.
Fix this by making the call to hide sync instead of async.
BUG=416354
Committed: https://crrev.com/52516a4c58a6ec6a88452601e2efea6e2f75704a
Cr-Commit-Position: refs/heads/master@{#296826}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 9 (2 generated)
|