Use correct GetToplevelWindow signature

This commit is contained in:
Kevin Sawicki 2016-08-23 10:12:55 -07:00
parent 399470e281
commit 463b3de199

View file

@ -1175,7 +1175,7 @@ bool WebContents::IsFocused() const {
if (!view) return false;
if (GetType() != BACKGROUND_PAGE) {
auto window = web_contents()->GetNativeView()->GetTopLevelWindow();
auto window = web_contents()->GetNativeView()->GetToplevelWindow();
if (window && !window->IsVisible())
return false;
}