Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: ash/display/cursor_window_controller.cc

Issue 201573015: Introdcue AshWindowTreeHost and move ash/chrome specific code in WTH to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/display/cursor_window_controller.cc
diff --git a/ash/display/cursor_window_controller.cc b/ash/display/cursor_window_controller.cc
index 6fb1a08e84e7290ed73a1940d860b21bf3d1ca11..c84514babd39c3f70829665f2b8d6caf173360dc 100644
--- a/ash/display/cursor_window_controller.cc
+++ b/ash/display/cursor_window_controller.cc
@@ -120,9 +120,9 @@ void CursorWindowController::UpdateContainer() {
if (is_cursor_compositing_enabled_) {
SetDisplay(display_);
} else {
- aura::WindowTreeHost* mirror_host = Shell::GetInstance()->
- display_controller()->mirror_window_controller()->host();
- SetContainer(mirror_host ? mirror_host->window() : NULL);
+ AshWindowTreeHost* mirror_host = Shell::GetInstance()->
+ display_controller()->mirror_window_controller()->ash_host();
+ SetContainer(mirror_host ? mirror_host->AsWindowTreeHost()->window() : NULL);
}
}
« no previous file with comments | « ash/ash.gyp ('k') | ash/display/display_controller.h » ('j') | ash/host/ash_window_tree_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698