#include "ui/gfx/image/image_skia_operations.h"
namespace ash {
-namespace internal {
class CursorWindowDelegate : public aura::WindowDelegate {
public:
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);
+ SetContainer(Shell::GetInstance()->
+ display_controller()->
+ mirror_window_controller()->
+ GetWindow());
}
}
}
}
-} // namespace internal
} // namespace ash