| Index: ash/host/ash_window_tree_host_x11.cc
|
| diff --git a/ash/host/ash_window_tree_host_x11.cc b/ash/host/ash_window_tree_host_x11.cc
|
| index a050a349f021cc26bd10af2f92763a52e51e9b03..ac15df78a3861b70a443e7b1c33477276d5a598c 100644
|
| --- a/ash/host/ash_window_tree_host_x11.cc
|
| +++ b/ash/host/ash_window_tree_host_x11.cc
|
| @@ -30,8 +30,9 @@
|
|
|
| namespace ash {
|
|
|
| -AshWindowTreeHostX11::AshWindowTreeHostX11(const gfx::Rect& initial_bounds)
|
| - : WindowTreeHostX11(initial_bounds),
|
| +AshWindowTreeHostX11::AshWindowTreeHostX11(const gfx::Rect& initial_bounds,
|
| + ui::ContextFactory* context_factory)
|
| + : WindowTreeHostX11(initial_bounds, context_factory),
|
| transformer_helper_(this),
|
| display_ids_(std::make_pair(gfx::Display::kInvalidDisplayID,
|
| gfx::Display::kInvalidDisplayID)) {
|
| @@ -284,7 +285,8 @@ void AshWindowTreeHostX11::SetCrOSTapPaused(bool state) {
|
|
|
| AshWindowTreeHost* AshWindowTreeHost::Create(
|
| const AshWindowTreeHostInitParams& init_params) {
|
| - return new AshWindowTreeHostX11(init_params.initial_bounds);
|
| + return new AshWindowTreeHostX11(init_params.initial_bounds,
|
| + init_params.context_factory);
|
| }
|
|
|
| } // namespace ash
|
|
|