Skip to content

Commit

Permalink
chore: update electron_inspectable_web_contents_view.mm
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound authored and VerteDinde committed Mar 15, 2022
1 parent 370b5d0 commit 1e542a7
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 1e542a7

Please sign in to comment.