Refactor NativeWindow (Part 3): Remove is_offscreen_dummy from NativeWindow (#12503)
* Don't use is_offscreen_dummy in MessageBox * Don't use is_offscreen_dummy in DownloadManagerDelegate * Don't use is_offscreen_dummy in CommonWebContentsDelegate * Remove is_offscreen_dummy from NativeWindow
This commit is contained in:
parent
1a649a6ac3
commit
8fc5c6c862
8 changed files with 34 additions and 29 deletions
|
@ -154,7 +154,6 @@ void BrowserWindow::Init(v8::Isolate* isolate,
|
|||
options,
|
||||
parent.IsEmpty() ? nullptr : parent->window_.get()));
|
||||
web_contents->SetOwnerWindow(window_.get());
|
||||
window_->set_is_offscreen_dummy(api_web_contents_->IsOffScreen());
|
||||
|
||||
// Tell the content module to initialize renderer widget with transparent
|
||||
// mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue