Partial revert of Provide WebContents::CreateParams to tab helpers.
https://chromium-review.googlesource.com/c/571285
This commit is contained in:
parent
9566904838
commit
e926473e5a
2 changed files with 2 additions and 4 deletions
|
@ -507,8 +507,7 @@ void WebContents::WebContentsCreated(
|
||||||
int opener_render_frame_id,
|
int opener_render_frame_id,
|
||||||
const std::string& frame_name,
|
const std::string& frame_name,
|
||||||
const GURL& target_url,
|
const GURL& target_url,
|
||||||
content::WebContents* new_contents,
|
content::WebContents* new_contents) {
|
||||||
const base::Optional<content::WebContents::CreateParams>& create_params) {
|
|
||||||
v8::Locker locker(isolate());
|
v8::Locker locker(isolate());
|
||||||
v8::HandleScope handle_scope(isolate());
|
v8::HandleScope handle_scope(isolate());
|
||||||
auto api_web_contents = CreateFrom(isolate(), new_contents, BROWSER_WINDOW);
|
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,
|
int opener_render_frame_id,
|
||||||
const std::string& frame_name,
|
const std::string& frame_name,
|
||||||
const GURL& target_url,
|
const GURL& target_url,
|
||||||
content::WebContents* new_contents,
|
content::WebContents* new_contents)
|
||||||
const base::Optional<content::WebContents::CreateParams>& create_params)
|
|
||||||
override;
|
override;
|
||||||
void AddNewContents(content::WebContents* source,
|
void AddNewContents(content::WebContents* source,
|
||||||
content::WebContents* new_contents,
|
content::WebContents* new_contents,
|
||||||
|
|
Loading…
Reference in a new issue