Fix crash when using file chooser in BrowserView
The crash was a segfault caused by a null `WebDialogHelper::window_`.
This commit is contained in:
parent
3abeb6e2bc
commit
eb19562316
6 changed files with 36 additions and 6 deletions
|
@ -185,6 +185,7 @@ class Window : public mate::TrackableObject<Window>,
|
|||
std::vector<v8::Local<v8::Object>> GetChildWindows() const;
|
||||
v8::Local<v8::Value> GetBrowserView() const;
|
||||
void SetBrowserView(v8::Local<v8::Value> value);
|
||||
void ResetBrowserView();
|
||||
bool IsModal() const;
|
||||
v8::Local<v8::Value> GetNativeWindowHandle();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue