Index: ash/root_window_controller.h |
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h |
index 904d66899940ef7b69db83a1daa10d9cee24fbe3..d869e1124eb9856c807d769a7c7b5b3948b66059 100644 |
--- a/ash/root_window_controller.h |
+++ b/ash/root_window_controller.h |
@@ -80,7 +80,7 @@ class RootWindowLayoutManager; |
// indirectly owned and deleted by |WindowTreeHostManager|. |
// The RootWindowController for particular root window is stored in |
// its property (RootWindowSettings) and can be obtained using |
-// |GetRootWindowController(aura::WindowEventDispatcher*)| function. |
+// |RootWindowController::ForWindow(aura::Window*)| function. |
class ASH_EXPORT RootWindowController : public ShellObserver { |
public: |
// Enumerates the type of display. If there is only a single display then |
@@ -375,12 +375,6 @@ class ASH_EXPORT RootWindowController : public ShellObserver { |
DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
}; |
-// On classic ash, returns the RootWindowController for the given |root_window|. |
-// On mus ash, returns the RootWindowController for the primary display. |
-// See RootWindowController class comment above. |
-ASH_EXPORT RootWindowController* GetRootWindowController( |
- const aura::Window* root_window); |
- |
} // namespace ash |
#endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |