| Index: ui/aura/test/test_screen.cc
|
| diff --git a/ui/aura/test/test_screen.cc b/ui/aura/test/test_screen.cc
|
| index bc5ceeff98499940c5121809b9732c5dbdcbd2ae..bdf7b5342715b25f44c4300a44a6979343856f37 100644
|
| --- a/ui/aura/test/test_screen.cc
|
| +++ b/ui/aura/test/test_screen.cc
|
| @@ -129,6 +129,8 @@ gfx::NativeWindow TestScreen::GetWindowUnderCursor() {
|
| }
|
|
|
| gfx::NativeWindow TestScreen::GetWindowAtScreenPoint(const gfx::Point& point) {
|
| + if (!host_ || !host_->window())
|
| + return nullptr;
|
| return host_->window()->GetTopWindowContainingPoint(point);
|
| }
|
|
|
|
|