Index: ash/host/ash_window_tree_host_ozone.cc |
diff --git a/ash/host/ash_window_tree_host_ozone.cc b/ash/host/ash_window_tree_host_ozone.cc |
index 6fd0b26cd647a89753c8cbe116548926af2f1f83..958d57ef607dc2ccc8d0f3cd655edcc1c993dfc0 100644 |
--- a/ash/host/ash_window_tree_host_ozone.cc |
+++ b/ash/host/ash_window_tree_host_ozone.cc |
@@ -18,8 +18,10 @@ namespace { |
class AshWindowTreeHostOzone : public AshWindowTreeHost, |
public aura::WindowTreeHostOzone { |
public: |
- explicit AshWindowTreeHostOzone(const gfx::Rect& initial_bounds); |
- virtual ~AshWindowTreeHostOzone(); |
+ AshWindowTreeHostOzone(const gfx::Rect& initial_bounds, |
+ ui::ContextFactory* context_factory) |
+ : aura::WindowTreeHostOzone(initial_bounds, context_factory) {} |
+ virtual ~AshWindowTreeHostOzone() {} |
private: |
// AshWindowTreeHost: |
@@ -91,7 +93,8 @@ void AshWindowTreeHostOzone::UpdateRootWindowSize(const gfx::Size& host_size) { |
AshWindowTreeHost* AshWindowTreeHost::Create( |
const AshWindowTreeHostInitParams& init_params) { |
- return new AshWindowTreeHostOzone(init_params.initial_bounds); |
+ return new AshWindowTreeHostOzone(init_params.initial_bounds, |
+ init_params.context_factory); |
} |
} // namespace ash |