refactor: only create webContents after 'will-attach-webview' (#30311)
This commit is contained in:
parent
4519bc3cd1
commit
6e43b0bcbf
9 changed files with 17 additions and 80 deletions
|
@ -36,8 +36,6 @@ class WebContentsPreferences
|
|||
const gin_helper::Dictionary& web_preferences);
|
||||
~WebContentsPreferences() override;
|
||||
|
||||
void Merge(const gin_helper::Dictionary& new_web_preferences);
|
||||
|
||||
void SetFromDictionary(const gin_helper::Dictionary& new_web_preferences);
|
||||
|
||||
// Append command paramters according to preferences.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue