Fix crash when sending programmatic event to a Views-hosted browser window.

The |web_contents_| member was nullptr in CefBrowserPlatformDelegateNativeAura
when calling methods like SendKeyEvent from CefBrowserPlatformDelegateViews.
This commit is contained in:
Marshall Greenblatt
2020-09-15 11:03:38 -04:00
parent 8796d3cd95
commit 5f9bd3ecbd
4 changed files with 12 additions and 4 deletions

View File

@@ -62,7 +62,6 @@ class CefBrowserPlatformDelegateNative
void set_windowless_handler(WindowlessHandler* handler) {
windowless_handler_ = handler;
}
void set_browser(CefBrowserHostImpl* browser) { browser_ = browser; }
CefWindowInfo window_info_;
const SkColor background_color_;