chromium-style fixes (#12826)

This commit is contained in:
Jeremy Apthorp 2018-05-03 23:45:12 -07:00 committed by Shelley Vohr
parent 7be30bb249
commit b280ea5579
11 changed files with 30 additions and 21 deletions

View file

@ -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();
}