From 463b3de199401bda2de48d3e065adbd2fa473da0 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 23 Aug 2016 10:12:55 -0700 Subject: [PATCH] Use correct GetToplevelWindow signature --- atom/browser/api/atom_api_web_contents.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index b1ef28e731..f04e496f9a 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -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; }