Index: services/ui/ws/display.cc |
diff --git a/services/ui/ws/display.cc b/services/ui/ws/display.cc |
index 8a27a90000c6f03588569b0d178514e647c054c6..fd0f030682991097b60f65276ef748463c017b7c 100644 |
--- a/services/ui/ws/display.cc |
+++ b/services/ui/ws/display.cc |
@@ -302,10 +302,6 @@ void Display::OnNativeCaptureLost() { |
display_root->window_manager_state()->SetCapture(nullptr, kInvalidClientId); |
} |
-void Display::OnDisplayClosed() { |
- display_manager()->DestroyDisplay(this); |
-} |
- |
void Display::OnViewportMetricsChanged(const ViewportMetrics& old_metrics, |
const ViewportMetrics& new_metrics) { |
gfx::Rect new_bounds(new_metrics.bounds.size()); |