diff options
author | sadrul <sadrul@chromium.org> | 2015-04-02 13:16:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-02 20:17:07 +0000 |
commit | b21a63a538aad2c53afd6aaf76a48ab92b15897a (patch) | |
tree | 79d17fe34696b5c5d85e66f7cc6b8202234085ac | |
parent | 02df2370508eca3069dd63f6bfba4686d2c88de8 (diff) | |
download | chromium_src-b21a63a538aad2c53afd6aaf76a48ab92b15897a.zip chromium_src-b21a63a538aad2c53afd6aaf76a48ab92b15897a.tar.gz chromium_src-b21a63a538aad2c53afd6aaf76a48ab92b15897a.tar.bz2 |
wm: Remove use of WindowTracker for each mouse event since it's never used.
BUG=none
Review URL: https://codereview.chromium.org/1055033002
Cr-Commit-Position: refs/heads/master@{#323552}
-rw-r--r-- | ui/wm/core/compound_event_filter.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/wm/core/compound_event_filter.cc b/ui/wm/core/compound_event_filter.cc index 490bc13..ee301f6 100644 --- a/ui/wm/core/compound_event_filter.cc +++ b/ui/wm/core/compound_event_filter.cc @@ -11,7 +11,6 @@ #include "ui/aura/window.h" #include "ui/aura/window_delegate.h" #include "ui/aura/window_event_dispatcher.h" -#include "ui/aura/window_tracker.h" #include "ui/base/hit_test.h" #include "ui/events/event.h" #include "ui/wm/public/activation_client.h" @@ -203,8 +202,6 @@ void CompoundEventFilter::OnKeyEvent(ui::KeyEvent* event) { void CompoundEventFilter::OnMouseEvent(ui::MouseEvent* event) { aura::Window* window = static_cast<aura::Window*>(event->target()); - aura::WindowTracker window_tracker; - window_tracker.Add(window); // We must always update the cursor, otherwise the cursor can get stuck if an // event filter registered with us consumes the event. |