Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Unified Diff: services/ui/ws/window_tree.cc

Issue 2736943003: Start to decouple display::Display from ws::PlatformDisplay. (Closed)
Patch Set: Fix comments. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/window_manager_state_unittest.cc ('k') | services/ui/ws/window_tree_host_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index 8602975133cad3c06da70455c4e44c282aa2d9d3..89ef41112b3c944243ac3b9822f10b336d9e6656 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -197,10 +197,10 @@ void WindowTree::AddRootForWindowManager(const ServerWindow* root) {
window_id_to_client_id_map_[root->id()] = client_window_id;
roots_.insert(root);
- Display* display = GetDisplay(root);
- DCHECK(display);
+ Display* ws_display = GetDisplay(root);
+ DCHECK(ws_display);
- window_manager_internal_->WmNewDisplayAdded(display->ToDisplay(),
+ window_manager_internal_->WmNewDisplayAdded(ws_display->GetDisplay(),
WindowToWindowData(root),
root->parent()->IsDrawn());
}
« no previous file with comments | « services/ui/ws/window_manager_state_unittest.cc ('k') | services/ui/ws/window_tree_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698