mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 70.0.3507.0 (#578961)
This commit is contained in:
@@ -192,15 +192,7 @@ bool CefBrowserPlatformDelegateOsr::IsViewsHosted() const {
|
||||
}
|
||||
|
||||
void CefBrowserPlatformDelegateOsr::WasHidden(bool hidden) {
|
||||
CefRenderWidgetHostViewOSR* view = GetOSRHostView();
|
||||
if (view) {
|
||||
if (hidden)
|
||||
view->Hide();
|
||||
else
|
||||
view->Show();
|
||||
}
|
||||
|
||||
// Also notify the WebContentsImpl for consistency.
|
||||
// The WebContentsImpl will notify the OSR view.
|
||||
content::WebContentsImpl* web_contents =
|
||||
static_cast<content::WebContentsImpl*>(browser_->web_contents());
|
||||
if (web_contents) {
|
||||
|
Reference in New Issue
Block a user