DescriptionFindBrowserWithWebContents now recognises DevTool's embedded WebContent
If the DevTools window is invoked in-tab, the task manager refused to add it to the list of displayed processes, because there was no tab owning this WebContent. This CL improves the check in FindBrowserWithWebContents to recognise the DevTool's WebContent as valid in this case. To avoid crashing in TabContentsResource::GetIcon(), a FaviconTabHelper::CreateForWebContents() call had to be added.
BUG=237841
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220549
Patch Set 1 #Patch Set 2 : Browser test added #
Total comments: 3
Patch Set 3 : Use IsDevToolsWindow to check for DevTools #
Messages
Total messages: 7 (0 generated)
|