mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 105.0.5176.0 (#1023155)
This commit is contained in:
@@ -1082,7 +1082,8 @@ void AlloyBrowserHostImpl::CloseContents(content::WebContents* source) {
|
||||
|
||||
if (source) {
|
||||
// Try to fast shutdown the associated process.
|
||||
source->GetMainFrame()->GetProcess()->FastShutdownIfPossible(1, false);
|
||||
source->GetPrimaryMainFrame()->GetProcess()->FastShutdownIfPossible(
|
||||
1, false);
|
||||
}
|
||||
|
||||
// No window exists. Destroy the browser immediately. Don't call other
|
||||
@@ -1463,7 +1464,7 @@ AlloyBrowserHostImpl::AlloyBrowserHostImpl(
|
||||
platform_delegate_->BrowserCreated(this);
|
||||
|
||||
// Make sure RenderFrameCreated is called at least one time.
|
||||
RenderFrameCreated(web_contents->GetMainFrame());
|
||||
RenderFrameCreated(web_contents->GetPrimaryMainFrame());
|
||||
}
|
||||
|
||||
bool AlloyBrowserHostImpl::CreateHostWindow() {
|
||||
|
Reference in New Issue
Block a user