Electron crashes if user clicks Dev Tools & Zoom options #10697
This commit is contained in:
parent
4ffb6c5f75
commit
463260b249
2 changed files with 15 additions and 6 deletions
|
@ -385,6 +385,9 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
// get the zoom level.
|
||||
void OnGetZoomLevel(IPC::Message* reply_msg);
|
||||
|
||||
void InitZoomController(content::WebContents* web_contents,
|
||||
const mate::Dictionary& options);
|
||||
|
||||
v8::Global<v8::Value> session_;
|
||||
v8::Global<v8::Value> devtools_web_contents_;
|
||||
v8::Global<v8::Value> debugger_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue