| Index: ui/wm/core/compound_event_filter.cc
|
| diff --git a/ui/wm/core/compound_event_filter.cc b/ui/wm/core/compound_event_filter.cc
|
| index f50805d4e36a0541274e59dcb17e3360b20129e1..711d7e43c40be82b9efa097e57a73948045e7d46 100644
|
| --- a/ui/wm/core/compound_event_filter.cc
|
| +++ b/ui/wm/core/compound_event_filter.cc
|
| @@ -15,7 +15,6 @@
|
| #include "ui/base/hit_test.h"
|
| #include "ui/events/event.h"
|
| #include "ui/wm/public/activation_client.h"
|
| -#include "ui/wm/public/cursor_delegate.h"
|
| #include "ui/wm/public/drag_drop_client.h"
|
|
|
| #if defined(OS_CHROMEOS) && defined(USE_X11)
|
| @@ -159,9 +158,7 @@
|
| aura::client::CursorClient* cursor_client =
|
| aura::client::GetCursorClient(root_window);
|
| if (cursor_client) {
|
| - CursorDelegate* delegate = GetCursorDelegate(target);
|
| - gfx::NativeCursor cursor = delegate ?
|
| - delegate->GetCursorForPoint(event->location()) : gfx::kNullCursor;
|
| + gfx::NativeCursor cursor = target->GetCursor(event->location());
|
| if ((event->flags() & ui::EF_IS_NON_CLIENT)) {
|
| if (target->delegate()) {
|
| int window_component =
|
|
|