| Index: ui/aura/root_window.cc
|
| diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
|
| index 9c50a2cf801ca0b2bb1b779fdf28aa3e29316363..f6b6b0256473aa4ea699523d851e793262b945a1 100644
|
| --- a/ui/aura/root_window.cc
|
| +++ b/ui/aura/root_window.cc
|
| @@ -32,7 +32,7 @@ bool RootWindow::HandleMouseEvent(const MouseEvent& event) {
|
| mouse_pressed_handler_ = target;
|
| if (event.type() == ui::ET_MOUSE_RELEASED)
|
| mouse_pressed_handler_ = NULL;
|
| - if (target->delegate()) {
|
| + if (target && target->delegate()) {
|
| MouseEvent translated_event(event, this, target);
|
| return target->OnMouseEvent(&translated_event);
|
| }
|
|
|