Index: services/ui/ws/server_window_delegate.h |
diff --git a/services/ui/ws/server_window_delegate.h b/services/ui/ws/server_window_delegate.h |
index e3bf51d06c11bcc2af9c49f4dc57fb90a2704746..affaa616cf53bda3205a66628fe12f6a3bcbf8e6 100644 |
--- a/services/ui/ws/server_window_delegate.h |
+++ b/services/ui/ws/server_window_delegate.h |
@@ -24,12 +24,9 @@ class ServerWindowDelegate { |
public: |
virtual DisplayCompositor* GetDisplayCompositor() = 0; |
- virtual void OnScheduleWindowPaint(ServerWindow* window) = 0; |
- |
// Returns the root of the window tree to which this |window| is attached. |
// Returns null if this window is not attached up through to a root window. |
- virtual const ServerWindow* GetRootWindow( |
- const ServerWindow* window) const = 0; |
+ virtual ServerWindow* GetRootWindow(const ServerWindow* window) = 0; |
protected: |
virtual ~ServerWindowDelegate() {} |