Create Browser::FromWebContents.
This allows code to get the Browser from a WebContents safely. Existing code doing blind casting from a WebContentsDelegate is updated, and there are two tab helpers on the way that will be using it. BUG=none Change-Id: Idea2fa9bd98d9a607bfc0a1ff9d2e88a0812a509 Reviewed-on: https://chromium-review.googlesource.com/612044Reviewed-by:John Abd-El-Malek <jam@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#494092}
Showing
Please register or sign in to comment