mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
less removal of whitespace
This commit is contained in:
@@ -188,7 +188,7 @@ void SetActive(content::WebContents* web_contents, bool active) {
|
||||
if (!devToolsWebContents)
|
||||
return NO;
|
||||
auto devToolsView = devToolsWebContents->GetView()->GetNativeView();
|
||||
|
||||
|
||||
return _private->window && devToolsView.window == _private->window;
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ void SetActive(content::WebContents* web_contents, bool active) {
|
||||
SetActive(inspectable_contents->devtools_web_contents(), active);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Changes the window that hosts us always affect our main web contents. If the dev tools are also
|
||||
// hosted in this window, they are affected too.
|
||||
SetActive(inspectable_contents->GetWebContents(), active);
|
||||
|
||||
Reference in New Issue
Block a user