summaryrefslogtreecommitdiffstats
path: root/ash/wm/ash_native_cursor_manager.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-16 04:21:54 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-16 04:21:54 +0000
commit4c090d2e47966acc72365fad22612f2235d89396 (patch)
treedb06cf81ec14cc08c72e89a3ee0d10ca0f61f595 /ash/wm/ash_native_cursor_manager.cc
parent5f4616d145d23a69da79c7ce6ae7df4ae3da5d48 (diff)
downloadchromium_src-4c090d2e47966acc72365fad22612f2235d89396.zip
chromium_src-4c090d2e47966acc72365fad22612f2235d89396.tar.gz
chromium_src-4c090d2e47966acc72365fad22612f2235d89396.tar.bz2
Remove some methods from RootWindow that really belong on the WTH.
TBR=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/167563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/ash_native_cursor_manager.cc')
-rw-r--r--ash/wm/ash_native_cursor_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/wm/ash_native_cursor_manager.cc b/ash/wm/ash_native_cursor_manager.cc
index a2004e7..0100105 100644
--- a/ash/wm/ash_native_cursor_manager.cc
+++ b/ash/wm/ash_native_cursor_manager.cc
@@ -21,7 +21,7 @@ void SetCursorOnAllRootWindows(gfx::NativeCursor cursor) {
Shell::GetInstance()->GetAllRootWindows();
for (aura::Window::Windows::iterator iter = root_windows.begin();
iter != root_windows.end(); ++iter)
- (*iter)->GetDispatcher()->SetCursor(cursor);
+ (*iter)->GetDispatcher()->host()->SetCursor(cursor);
#if defined(OS_CHROMEOS)
Shell::GetInstance()->display_controller()->
cursor_window_controller()->SetCursor(cursor);
@@ -33,7 +33,7 @@ void NotifyCursorVisibilityChange(bool visible) {
Shell::GetInstance()->GetAllRootWindows();
for (aura::Window::Windows::iterator iter = root_windows.begin();
iter != root_windows.end(); ++iter)
- (*iter)->GetDispatcher()->OnCursorVisibilityChanged(visible);
+ (*iter)->GetDispatcher()->host()->OnCursorVisibilityChanged(visible);
#if defined(OS_CHROMEOS)
Shell::GetInstance()->display_controller()->cursor_window_controller()->
SetVisibility(visible);