summaryrefslogtreecommitdiffstats
path: root/ash/test/ui_controls_factory_ash.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 20:54:57 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-20 20:54:57 +0000
commit7a60cd3a87912064436bc1f12d6b2ea3abddf961 (patch)
tree35324f6c57f6f39ae9f733b2b133488ab8892022 /ash/test/ui_controls_factory_ash.cc
parenta72ef03eaa3b29a137c7d5953bcf3e124a76cf54 (diff)
downloadchromium_src-7a60cd3a87912064436bc1f12d6b2ea3abddf961.zip
chromium_src-7a60cd3a87912064436bc1f12d6b2ea3abddf961.tar.gz
chromium_src-7a60cd3a87912064436bc1f12d6b2ea3abddf961.tar.bz2
Remove window/host accessors from WindowEventDispatcher. Include-What-You-Use for WindowTreeHost.
TBR=sky@chromium.org http://crbug.com/308843 Review URL: https://codereview.chromium.org/196383014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/test/ui_controls_factory_ash.cc')
-rw-r--r--ash/test/ui_controls_factory_ash.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/test/ui_controls_factory_ash.cc b/ash/test/ui_controls_factory_ash.cc
index 0c3caa3..cbdeddb 100644
--- a/ash/test/ui_controls_factory_ash.cc
+++ b/ash/test/ui_controls_factory_ash.cc
@@ -10,8 +10,8 @@
#include "ui/aura/client/screen_position_client.h"
#include "ui/aura/env.h"
#include "ui/aura/test/ui_controls_factory_aura.h"
-#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_property.h"
+#include "ui/aura/window_tree_host.h"
#include "ui/base/test/ui_controls.h"
#include "ui/base/test/ui_controls_aura.h"
#include "ui/gfx/screen.h"
@@ -35,7 +35,7 @@ UIControlsAura* GetUIControlsForRootWindow(aura::Window* root_window) {
root_window->GetProperty(kUIControlsKey);
if (!native_ui_control) {
native_ui_control =
- aura::test::CreateUIControlsAura(root_window->GetHost()->dispatcher());
+ aura::test::CreateUIControlsAura(root_window->GetHost());
// Pass the ownership to the |root_window|.
root_window->SetProperty(kUIControlsKey, native_ui_control);
}