This commit is contained in:
Heilig Benedek 2018-01-12 18:17:16 +01:00
parent c6c618acdb
commit 8233890e39

View file

@ -31,8 +31,7 @@ void AtomDesktopNativeWidgetAura::OnWindowActivated(
reason, gained_active, lost_active);
if (lost_active != nullptr) {
auto* tooltip_controller = static_cast<views::corewm::TooltipController*>(
aura::client::GetTooltipClient(lost_active->GetRootWindow())
);
aura::client::GetTooltipClient(lost_active->GetRootWindow()));
// This will cause the tooltip to be hidden when a window is deactivated,
// as it should be. Remove this fix when the chromium issue is fixed.