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

Unified Diff: services/ui/ws/window_server.h

Issue 2680883002: Fixes bugs in cursor handling (Closed)
Patch Set: Created 3 years, 10 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_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server.h
diff --git a/services/ui/ws/window_server.h b/services/ui/ws/window_server.h
index 709cf9e0540302f42b8a617309c9b057e8257db7..a71ebdf380d8c2bf9713953f4739a9cd64281c3d 100644
--- a/services/ui/ws/window_server.h
+++ b/services/ui/ws/window_server.h
@@ -123,7 +123,7 @@ class WindowServer : public ServerWindowDelegate,
// Returns true if OnTreeMessagedClient() was invoked for id.
bool DidTreeMessageClient(ClientSpecificId id) const;
- // Returns the WindowTree that has |id| as a root.
+ // Returns the WindowTree that has |window| as a root.
WindowTree* GetTreeWithRoot(const ServerWindow* window) {
return const_cast<WindowTree*>(
const_cast<const WindowServer*>(this)->GetTreeWithRoot(window));
« no previous file with comments | « services/ui/ws/window_manager_state_unittest.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698