| Index: athena/wm/window_overview_mode.cc
|
| diff --git a/athena/wm/window_overview_mode.cc b/athena/wm/window_overview_mode.cc
|
| index b8b10314eb9cd03653d8b617e09cfbbad4bd9a59..4bcedbe5529a9a3885309dfb61750cb5dd231b5f 100644
|
| --- a/athena/wm/window_overview_mode.cc
|
| +++ b/athena/wm/window_overview_mode.cc
|
| @@ -430,7 +430,8 @@ class WindowOverviewModeImpl : public WindowOverviewMode,
|
| targeter->FindTargetForLocatedEvent(container_, event));
|
| while (target && target->parent() != container_)
|
| target = target->parent();
|
| - aura::Window* transient_parent = wm::GetTransientParent(target);
|
| + aura::Window* transient_parent =
|
| + target ? wm::GetTransientParent(target) : NULL;
|
| return transient_parent ? transient_parent : target;
|
| }
|
|
|
|
|