weblayer: minor cleanup of TabImpl::UserData
This needs to handle the case of a WebContents that isn't associated with a Tab. This also renames |controller| to |tab|, which better reflects the type. BUG=none TEST=none Change-Id: Idbf58316d3223e00e28f2d7c675e125c30ecaecf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2210499Reviewed-by:Clark DuVall <cduvall@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#770730}
Showing
Please register or sign in to comment