<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [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 for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
  * 6.0.7 and 6.1.5 <!-- (output of `node_modules/.bin/electron --version`) e.g. 4.0.3 -->
* **Operating System:**
  * Windows 10 x64 <!-- (Platform and Version) e.g. macOS 10.13.6 / Windows 10 (1803) / Ubuntu 18.04 x64 -->
* **Last Known Working Electron version:**
  * <!-- (if applicable) e.g. 3.1.0 -->

### Expected Behavior
App not crashing
<!-- A clear and concise description of what you expected to happen. -->

### Actual Behavior
It crashes 
<!-- A clear and concise description of what actually happened. -->

### To Reproduce
Was not able to reproduce myself or get reports with steps from user. 
Only information that we have is crash reports with backtraces.  

This backtraces have different call traces but all end with crash in "atom::NativeBrowserViewViews::AutoResize" file native_browser_view_views.cc line 54. 
Crashes of this two types of exceptions EXCEPTION_ACCESS_VIOLATION_READ and EXCEPTION_ACCESS_VIOLATION_EXEC. 
Calls to AutoResize leading to a crash originated from two different events Move and Resize. 

> atom::NativeBrowserViewViews::AutoResize native_browser_view_views.cc:54
> std::list<T>::list list:800
> atom::NativeWindowViews::GetBounds native_window_views.cc:588
> atom::NativeWindowViews::OnWidgetBoundsChanged native_window_views.cc:1222
> base::ObserverList<T>::Iter::EnsureValidIndex observer_list.h:211
> views::Widget::OnNativeWidgetMove widget.cc:1180
> display::win::ScreenWin::GetDisplayNearestPoint screen_win.cc:640
> views::DesktopWindowTreeHostWin::HandleMove desktop_window_tree_host_win.cc:836
> atom::NativeWindow::GetContentMaximumSize native_window.cc:287
> views::HWNDMessageHandler::_ProcessWindowMessage hwnd_message_handler.h:423
 

> atom::NativeBrowserViewViews::AutoResize native_browser_view_views.cc:54
> std::list<T>::list list:800
> atom::NativeWindowViews::OnWidgetBoundsChanged native_window_views.cc:1222
> base::ObserverList<T>::Iter::EnsureValidIndex observer_list.h:211
> views::Widget::OnNativeWidgetSizeChanged widget.cc:1192
> aura::Window::SetBoundsInternal window.cc:862
> aura::Window::SetBounds window.cc:355
> views::DesktopNativeWidgetAura::OnHostResized desktop_native_widget_aura.cc:1223
> aura::Window::UpdateLocalSurfaceId window.cc:1493
> base::ObserverList<T>::Iter::Iter observer_list.h:135
> aura::WindowTreeHost::OnHostResizedInPixels window_tree_host.cc:457
> atom::api::TopLevelWindow::OnWindowMessage atom_api_top_level_window.cc:292
> base::ObserverList<T>::Iter::EnsureValidIndex observer_list.h:211
> views::HWNDMessageHandler::ClientAreaSizeChanged hwnd_message_handler.cc:1360
> views::HWNDMessageHandler::OnNCPaint hwnd_message_handler.cc:2254
> CThemeWnd::NcHitTest nctheme.cpp:6619
> views::HWNDMessageHandler::OnWindowPosChanged hwnd_message_handler.cc:2763
> views::HWNDMessageHandler::_ProcessWindowMessage hwnd_message_handler.h:440

Crashing line native_browser_view_views.cc line 54. 
https://github.com/electron/electron/blob/47ee65c66ce0a1fcd476ac4cefcdc2b3b96cede9/atom/browser/native_browser_view_views.cc#L54

Can object reference returned by GetInspectableWebContentsView() be invalid or object destroyed when Move/Resize event comes from the system? 

<!--
Your best chance of getting this bug looked at quickly is to provide an example.
-->

<!--
For bugs that can be encapsulated in a small experiment, you can use Electron Fiddle (https://github.com/electron/fiddle) to publish your example to a GitHub Gist and link it your bug report.
-->

<!--
If Fiddle is insufficient to produce an example, please provide an example REPOSITORY that can be cloned and run. You can fork electron-quick-start (https://github.com/electron/electron-quick-start) and include a link to the branch with your changes.
-->

<!--
If you provide a URL, please list the commands required to clone/setup/run your repo e.g.
```sh
$ git clone $YOUR_URL -b $BRANCH
$ npm install
$ npm start || electron .
```
-->

### Screenshots
<!-- If applicable, add screenshots to help explain your problem. -->

### Additional Information
Our crash reporting system receives about 100 crashes a day what involves AutoResize. 

<!-- Add any other context about the problem here. -->

shell/browser/native_browser_view_views.cc
#include "shell/browser/native_browser_view_views.h"
#include "shell/browser/ui/inspectable_web_contents_view.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/background.h"
#include "ui/views/view.h"
namespace electron {
NativeBrowserViewViews::NativeBrowserViewViews(
    InspectableWebContents* inspectable_web_contents)
    : NativeBrowserView(inspectable_web_contents) {}
NativeBrowserViewViews::~NativeBrowserViewViews() = default;