Index: services/ui/ws/window_tree.cc |
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc |
index 56cbea50cd4c94df473bf8443045b5194a1560bf..dbe8d2f27befdbbdeda7739ae9b18ffd10d5a22b 100644 |
--- a/services/ui/ws/window_tree.cc |
+++ b/services/ui/ws/window_tree.cc |
@@ -181,7 +181,7 @@ void WindowTree::AddRootForWindowManager(const ServerWindow* root) { |
Display* display = GetDisplay(root); |
DCHECK(display); |
- window_manager_internal_->WmNewDisplayAdded(display->ToMojomDisplay(), |
+ window_manager_internal_->WmNewDisplayAdded(display->ToDisplay(), |
WindowToWindowData(root), |
root->parent()->IsDrawn()); |
} |