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

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

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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
« no previous file with comments | « services/ui/ws/display_manager.h ('k') | services/ui/ws/frame_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display_manager.cc
diff --git a/services/ui/ws/display_manager.cc b/services/ui/ws/display_manager.cc
index 755f55d3dc0190374620279fd8f3f181047075d7..614c99ecd3e6bed7accfdb26ebccafa1e6b36c46 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));
}
« no previous file with comments | « services/ui/ws/display_manager.h ('k') | services/ui/ws/frame_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698