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

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

Issue 2474113002: Mus+Ash: Unified BeginFrame Skeleton (Closed)
Patch Set: Remove window_tree.mojom.h Created 4 years, 1 month 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
Index: services/ui/ws/display_manager.cc
diff --git a/services/ui/ws/display_manager.cc b/services/ui/ws/display_manager.cc
index 157f8ca4234567c852e69d0b19f8f0fbc15835f0..ec7996894b900601269a4fea681ee420e774a1ae 100644
--- a/services/ui/ws/display_manager.cc
+++ b/services/ui/ws/display_manager.cc
@@ -91,7 +91,7 @@ void DisplayManager::OnDisplayUpdate(Display* display) {
pair.second->OnDisplayUpdate(display);
}
-Display* DisplayManager::GetDisplayContaining(ServerWindow* window) {
+Display* DisplayManager::GetDisplayContaining(const ServerWindow* window) {
return const_cast<Display*>(
static_cast<const DisplayManager*>(this)->GetDisplayContaining(window));
}

Powered by Google App Engine
This is Rietveld 408576698