Index: ash/host/root_window_host_factory.cc |
diff --git a/ash/host/root_window_host_factory.cc b/ash/host/root_window_host_factory.cc |
index 1f4cb3dfb04580940409f27b236cb6f3cedb1de9..27bb61490e9e84886e6fc6acd90c55f6e09920b8 100644 |
--- a/ash/host/root_window_host_factory.cc |
+++ b/ash/host/root_window_host_factory.cc |
@@ -8,14 +8,14 @@ |
namespace { |
-class RootWindowHostFactoryImpl : public ash::RootWindowHostFactory { |
+class WindowTreeHostFactoryImpl : public ash::WindowTreeHostFactory { |
public: |
- RootWindowHostFactoryImpl() {} |
+ WindowTreeHostFactoryImpl() {} |
- // Overridden from RootWindowHostFactory: |
- virtual aura::RootWindowHost* CreateRootWindowHost( |
+ // Overridden from WindowTreeHostFactory: |
+ virtual aura::WindowTreeHost* CreateWindowTreeHost( |
const gfx::Rect& initial_bounds) OVERRIDE { |
- return aura::RootWindowHost::Create(initial_bounds); |
+ return aura::WindowTreeHost::Create(initial_bounds); |
} |
}; |
@@ -24,8 +24,8 @@ class RootWindowHostFactoryImpl : public ash::RootWindowHostFactory { |
namespace ash { |
// static |
-RootWindowHostFactory* RootWindowHostFactory::Create() { |
- return new RootWindowHostFactoryImpl; |
+WindowTreeHostFactory* WindowTreeHostFactory::Create() { |
+ return new WindowTreeHostFactoryImpl; |
} |
} // namespace ash |