Pass isGuest when creating WebContents
This commit is contained in:
parent
4b61683cdf
commit
081a4597e9
5 changed files with 46 additions and 28 deletions
|
@ -94,7 +94,8 @@ NativeWindow::NativeWindow(content::WebContents* web_contents,
|
|||
has_dialog_attached_(false),
|
||||
zoom_factor_(1.0),
|
||||
weak_factory_(this) {
|
||||
InitWithWebContents(web_contents, this);
|
||||
InitWithWebContents(web_contents);
|
||||
SetOwnerWindow(this);
|
||||
|
||||
options.Get(switches::kFrame, &has_frame_);
|
||||
options.Get(switches::kTransparent, &transparent_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue