### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Electron Version

12.0.1

### What operating system are you using?

macOS

### Operating System Version

11.2

### What arch are you using?

x64

### Last Known Working Electron version

11.x

### Expected Behavior

The app should not crash, and the new-window event should be fired

### Actual Behavior

The app crashes 

### Testcase Gist URL

https://gist.github.com/ae7fdfd99a5d755a5ae4323c46a4e833


shell/browser/web_view_guest_delegate.cc
ResetZoomController();
}
void WebViewGuestDelegate::ResetZoomController() {
  if (embedder_zoom_controller_) {
    embedder_zoom_controller_->RemoveObserver(this);
    embedder_zoom_controller_ = nullptr;
  }
}
content::WebContents* WebViewGuestDelegate::CreateNewGuestWindow(
    const content::WebContents::CreateParams& create_params) {
  
  
  content::WebContents::CreateParams guest_params(create_params);
  guest_params.context = embedder_web_contents_->GetNativeView();
  std::unique_ptr<content::WebContents> guest_contents =
      content::WebContents::Create(guest_params);
  content::RenderWidgetHost* render_widget_host =
      guest_contents->GetRenderViewHost()->GetWidget();
  auto* guest_contents_impl =
      static_cast<content::WebContentsImpl*>(guest_contents.release());
  guest_contents_impl->GetView()->CreateViewForWidget(render_widget_host);
  return guest_contents_impl;
}
}