Use attached browser CreateParams in CreateBrowserForDrag
Use the attached browser CreateParams rather than BrowserList GetLastActive. It feels safer that the attached browser will always be the one that we want whereas BrowserList GetLastActive may not be so reliable. Bug: 1012169 Change-Id: Ifbbc13aa797db7942f5ce1d52decdac264c5d927 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1862875 Commit-Queue: Joel Hockey <joelhockey@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Auto-Submit: Joel Hockey <joelhockey@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#706220}
Showing
Please register or sign in to comment