Chromium Code Reviews| Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
| diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
| index 88c60906b7268d02bffd85fdb683ef05c9bca77a..e48540bda590229f9cc3f5eec2e52ecbe6d12236 100644 |
| --- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
| +++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
| @@ -870,7 +870,7 @@ void DesktopNativeWidgetAura::SetCursor(gfx::NativeCursor cursor) { |
| } |
| bool DesktopNativeWidgetAura::IsMouseEventsEnabled() const { |
| - if (!content_window_) |
| + if (!content_window_ || !host_) |
|
sky
2015/01/24 00:00:36
This has me worried, and at the least is worth a c
Devlin
2015/01/24 00:11:48
Yeah, I'm not real keen on it either.
Reason:
- On
|
| return false; |
| aura::client::CursorClient* cursor_client = |
| aura::client::GetCursorClient(host_->window()); |