| Index: ash/display/mirror_window_controller.cc
|
| diff --git a/ash/display/mirror_window_controller.cc b/ash/display/mirror_window_controller.cc
|
| index 3e7df2d79b23d1735fe7ca50db75e368c0c3cd9f..2b4c66b8c00a6c29eaf8c88aed66c91057cb28df 100644
|
| --- a/ash/display/mirror_window_controller.cc
|
| +++ b/ash/display/mirror_window_controller.cc
|
| @@ -145,8 +145,7 @@ void MirrorWindowController::UpdateWindow(
|
| mirror_window->SetBounds(host->window()->bounds());
|
| mirror_window->Show();
|
| if (reflector_) {
|
| - // TODO(oshima): Enable this once reflector change is landed.
|
| - // reflector_->AddMirroringLayer(mirror_window->layer());
|
| + reflector_->AddMirroringLayer(mirror_window->layer());
|
| } else {
|
| reflector_ =
|
| aura::Env::GetInstance()->context_factory()->CreateReflector(
|
| @@ -268,8 +267,7 @@ void MirrorWindowController::CloseAndDeleteHost(MirroringHostInfo* host_info) {
|
| host->RemoveObserver(Shell::GetInstance()->display_controller());
|
| host->RemoveObserver(this);
|
| host_info->ash_host->PrepareForShutdown();
|
| - // TODO(oshima): Enable this once reflector change is landed.
|
| - // reflector_->RemovedMirroringLayer(mirror_window->layer());
|
| + reflector_->RemoveMirroringLayer(host_info->mirror_window->layer());
|
| delete host_info;
|
| }
|
|
|
|
|