mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
don't dereference tooltip_controller if it's null
This commit is contained in:
@@ -37,7 +37,8 @@ void AtomDesktopNativeWidgetAura::OnWindowActivated(
|
||||
// as it should be.
|
||||
// TODO(brenca): Remove this fix when the chromium issue is fixed.
|
||||
// crbug.com/724538
|
||||
tooltip_controller->OnCancelMode(nullptr);
|
||||
if (tooltip_controller != nullptr)
|
||||
tooltip_controller->OnCancelMode(nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user