Hi all, especially //content OWNERS.
It was pointed out to me, that there are many instances of this. Randomly pointing at DevToolsWindow::ObserverWithAccessor::GetWebContents(), DownloadRequestLimiter::TabDownloadState::web_contents(), but there are much more (look for "return web_contents()" or promoting through "using" in the Codesearch).
If it is OK for random classes inheriting the WebContentsObserver to expose web_contents(), then instead WebContentsObserver::web_contents() should be made public. If it is not, then there are cases to be fixed. In both situations, there is some clean-up to do.
Cheers,
Vaclav