don't dereference tooltip_controller if it's null
This commit is contained in:
parent
8d8b8c590d
commit
f36fda3f5d
1 changed files with 2 additions and 1 deletions
|
@ -37,6 +37,7 @@ void AtomDesktopNativeWidgetAura::OnWindowActivated(
|
||||||
// as it should be.
|
// as it should be.
|
||||||
// TODO(brenca): Remove this fix when the chromium issue is fixed.
|
// TODO(brenca): Remove this fix when the chromium issue is fixed.
|
||||||
// crbug.com/724538
|
// crbug.com/724538
|
||||||
|
if (tooltip_controller != nullptr)
|
||||||
tooltip_controller->OnCancelMode(nullptr);
|
tooltip_controller->OnCancelMode(nullptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue