refactor: only create webContents after 'will-attach-webview' (#32941)
This commit is contained in:
parent
7ae3025fd5
commit
d4e97483aa
9 changed files with 21 additions and 84 deletions
|
@ -40,8 +40,6 @@ class WebContentsPreferences
|
|||
WebContentsPreferences(const WebContentsPreferences&) = delete;
|
||||
WebContentsPreferences& operator=(const WebContentsPreferences&) = delete;
|
||||
|
||||
void Merge(const gin_helper::Dictionary& new_web_preferences);
|
||||
|
||||
void SetFromDictionary(const gin_helper::Dictionary& new_web_preferences);
|
||||
|
||||
// Append command parameters according to preferences.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue