use will-create-webview event
This commit is contained in:
parent
a05eb9047e
commit
277c3155a6
2 changed files with 1 additions and 4 deletions
|
@ -406,9 +406,6 @@ void WebContents::InitWithSessionAndOptions(v8::Isolate* isolate,
|
|||
|
||||
Init(isolate);
|
||||
AttachAsUserData(web_contents);
|
||||
|
||||
if (IsGuest())
|
||||
Emit("did-create-webview");
|
||||
}
|
||||
|
||||
WebContents::~WebContents() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue