mirror of
https://github.com/electron/electron.git
synced 2026-02-10 07:05:35 -05:00
use will-create-webview event
This commit is contained in:
@@ -406,9 +406,6 @@ void WebContents::InitWithSessionAndOptions(v8::Isolate* isolate,
|
||||
|
||||
Init(isolate);
|
||||
AttachAsUserData(web_contents);
|
||||
|
||||
if (IsGuest())
|
||||
Emit("did-create-webview");
|
||||
}
|
||||
|
||||
WebContents::~WebContents() {
|
||||
|
||||
Reference in New Issue
Block a user