Add WebContentsPreferences::From that checks parameter
This commit is contained in:
parent
9772777919
commit
887bc12350
7 changed files with 21 additions and 15 deletions
|
@ -34,7 +34,7 @@ void AddGuest(int guest_instance_id,
|
|||
->SetDefaultZoomFactor(zoom_factor);
|
||||
}
|
||||
|
||||
WebContentsPreferences::FromWebContents(guest_web_contents)->Merge(options);
|
||||
WebContentsPreferences::From(guest_web_contents)->Merge(options);
|
||||
}
|
||||
|
||||
void RemoveGuest(content::WebContents* embedder, int guest_instance_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue