android: Fix interleaving popup calls

TabWebContentsDelegateAndroid currently assumes that webContentsCreated
must be matched with an addNewContents before another webContentsCreated
is called. This assumption holds only by accident and doesn't hold
anymore when OOPIF is enabled.

Fix TabWebContentsDelegateAndroid to use a map instead of a single pair.

Bug: 758186
Change-Id: I3c4913980a8d4907331afc9ddb6d7f3c0418d8f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1500154
Reviewed-by: Andrew Grieve <[email protected]>
Commit-Queue: Bo <[email protected]>
Cr-Commit-Position: refs/heads/master@{#637411}
1 file changed