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

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

Issue 2189893004: Unify display ids between Display and PlatformDisplay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to pure virtual. Created 4 years, 5 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/touch_controller.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/user_display_manager.cc
diff --git a/services/ui/ws/user_display_manager.cc b/services/ui/ws/user_display_manager.cc
index ded651423d7f428c2e57f7fa81fcb7ab6e45f9e5..c5bbcf90645cf57602286ed5ecb9ed36ff536ebb 100644
--- a/services/ui/ws/user_display_manager.cc
+++ b/services/ui/ws/user_display_manager.cc
@@ -55,10 +55,10 @@ void UserDisplayManager::OnWillDestroyDisplay(Display* display) {
display_manager_observers_.ForAllPtrs(
[this, &display](mojom::DisplayManagerObserver* observer) {
- observer->OnDisplayRemoved(display->id());
+ observer->OnDisplayRemoved(display->GetId());
});
if (test_observer_)
- test_observer_->OnDisplayRemoved(display->id());
+ test_observer_->OnDisplayRemoved(display->GetId());
}
void UserDisplayManager::OnMouseCursorLocationChanged(const gfx::Point& point) {
« no previous file with comments | « services/ui/ws/touch_controller.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698