Index: components/view_manager/view_manager_root_delegate.h |
diff --git a/components/view_manager/view_manager_root_delegate.h b/components/view_manager/view_manager_root_delegate.h |
index b85440c7f22955368693be41b5f534b550c1e32a..af8d52fb729b90e80ec968d24bcf591da51845e1 100644 |
--- a/components/view_manager/view_manager_root_delegate.h |
+++ b/components/view_manager/view_manager_root_delegate.h |
@@ -7,7 +7,7 @@ |
namespace view_manager { |
-class ViewManagerServiceImpl; |
+class ViewTreeImpl; |
// A ViewManagerRootDelegate interface is implemented by an object that |
// has the ViewManagerServiceImpl that is associated with the |
@@ -24,8 +24,8 @@ class ViewManagerRootDelegate { |
// Called when the window associated with the root is closed. |
virtual void OnDisplayClosed() = 0; |
- // Returns the ViewManagerServiceImpl associated with the delegate. |
- virtual ViewManagerServiceImpl* GetViewManagerService() = 0; |
+ // Returns the ViewTreeImpl associated with the delegate. |
+ virtual ViewTreeImpl* GetViewTree() = 0; |
protected: |
virtual ~ViewManagerRootDelegate() {} |