Skip to content

Commit

Permalink
Update electron_inspectable_web_contents_view.mm
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Feb 23, 2022
1 parent 370b5d0 commit e77b1af
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -266,7 +266,8 @@ - (void)viewDidBecomeFirstResponder:(NSNotification*)notification {
inspectableWebContentsView_->inspectable_web_contents();
DCHECK(inspectable_web_contents);
auto* webContents = inspectable_web_contents->GetWebContents();
if (!webContents) return;
if (!webContents)
return;
auto* webContentsView = webContents->GetNativeView().GetNativeNSView();

NSView* view = [notification object];
Expand Down

0 comments on commit e77b1af

Please sign in to comment.