DescriptionFix the incorrect native ImeAdapter attach and detach.
1. When navigating to new URL, the nativeImeAdapter in new rwhv is not attached
to the ImeAdapter.
2. When the old rwhv is destructed, ImeAdapter.detach is called with old rwhv's
nativeImeAdapter, which may incorrectly set the nativeImeAdapter to an invalid
value since the destrucion is possibly later than the new rwhv's attach. So when
attaching, check whether the ImeAdapter is already attached.
BUG=230247
TEST=ContentShell
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194810
Patch Set 1 #
Total comments: 2
Patch Set 2 : add comment #
Total comments: 2
Patch Set 3 : update the patch #Patch Set 4 : rebase #
Total comments: 4
Patch Set 5 : fix nits #
Messages
Total messages: 17 (0 generated)
|