зеркало из https://github.com/electron/electron.git
Partial revert of Provide WebContents::CreateParams to tab helpers.
https://chromium-review.googlesource.com/c/571285
This commit is contained in:
Родитель
9566904838
Коммит
e926473e5a
|
@ -507,8 +507,7 @@ void WebContents::WebContentsCreated(
|
|||
int opener_render_frame_id,
|
||||
const std::string& frame_name,
|
||||
const GURL& target_url,
|
||||
content::WebContents* new_contents,
|
||||
const base::Optional<content::WebContents::CreateParams>& create_params) {
|
||||
content::WebContents* new_contents) {
|
||||
v8::Locker locker(isolate());
|
||||
v8::HandleScope handle_scope(isolate());
|
||||
auto api_web_contents = CreateFrom(isolate(), new_contents, BROWSER_WINDOW);
|
||||
|
|
|
@ -254,8 +254,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
int opener_render_frame_id,
|
||||
const std::string& frame_name,
|
||||
const GURL& target_url,
|
||||
content::WebContents* new_contents,
|
||||
const base::Optional<content::WebContents::CreateParams>& create_params)
|
||||
content::WebContents* new_contents)
|
||||
override;
|
||||
void AddNewContents(content::WebContents* source,
|
||||
content::WebContents* new_contents,
|
||||
|
|
Загрузка…
Ссылка в новой задаче