refactor: remove InspectableWebContentsViewMac in favor of the Views version (#41326)
This commit is contained in:
parent
814ba71dc1
commit
e67ab9a93d
20 changed files with 304 additions and 956 deletions
|
@ -117,11 +117,6 @@ BaseWindow::BaseWindow(gin_helper::Arguments* args,
|
|||
BaseWindow::~BaseWindow() {
|
||||
CloseImmediately();
|
||||
|
||||
// Destroy the native window in next tick because the native code might be
|
||||
// iterating all windows.
|
||||
base::SingleThreadTaskRunner::GetCurrentDefault()->DeleteSoon(
|
||||
FROM_HERE, window_.release());
|
||||
|
||||
// Remove global reference so the JS object can be garbage collected.
|
||||
self_ref_.Reset();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue