Index: ash/display/display_controller.cc |
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc |
index 7d8e549e403489e93b863e6558ba725a59cc65a0..ec9e478c0c3b87d2a56e645b17afbca941459bd4 100644 |
--- a/ash/display/display_controller.cc |
+++ b/ash/display/display_controller.cc |
@@ -805,8 +805,8 @@ void DisplayController::CreateOrUpdateMirroringDisplay( |
} |
} |
-void DisplayController::CloseMirroringDisplay() { |
- mirror_window_controller_->Close(); |
+void DisplayController::CloseMirroringDisplayIfNotNecessary() { |
+ mirror_window_controller_->CloseIfNotNecessary(); |
// If cursor_compositing is enabled for large cursor, the cursor window is |
// always on the desktop display (the visible cursor on the non-desktop |
// display is drawn through compositor mirroring). Therefore, it's unnecessary |