mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix incorrect OSR browser display during navigation (issue #2209)
This commit is contained in:
@@ -198,6 +198,16 @@ void CefBrowserPlatformDelegateOsr::WasHidden(bool hidden) {
|
||||
else
|
||||
view->Show();
|
||||
}
|
||||
|
||||
// Also notify the WebContentsImpl for consistency.
|
||||
content::WebContentsImpl* web_contents =
|
||||
static_cast<content::WebContentsImpl*>(browser_->web_contents());
|
||||
if (web_contents) {
|
||||
if (hidden)
|
||||
web_contents->WasHidden();
|
||||
else
|
||||
web_contents->WasShown();
|
||||
}
|
||||
}
|
||||
|
||||
void CefBrowserPlatformDelegateOsr::NotifyScreenInfoChanged() {
|
||||
|
Reference in New Issue
Block a user