chromium-style fixes (#12826)
This commit is contained in:
parent
7be30bb249
commit
b280ea5579
11 changed files with 30 additions and 21 deletions
|
@ -323,7 +323,7 @@ void BrowserWindow::BlurWebView() {
|
|||
}
|
||||
|
||||
bool BrowserWindow::IsWebViewFocused() {
|
||||
auto host_view = web_contents()->GetRenderViewHost()->GetWidget()->GetView();
|
||||
auto* host_view = web_contents()->GetRenderViewHost()->GetWidget()->GetView();
|
||||
return host_view && host_view->HasFocus();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue