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 c6ae8b4ccb58bffc7a99c396644f3695f39149f4..478560c40ec9a4c915d26ff92399a8e3e14d2daf 100644 |
--- a/ash/host/ash_window_tree_host_x11.cc |
+++ b/ash/host/ash_window_tree_host_x11.cc |
@@ -35,6 +35,7 @@ namespace ash { |
AshWindowTreeHostX11::AshWindowTreeHostX11(const gfx::Rect& initial_bounds) |
: WindowTreeHostX11(initial_bounds), transformer_helper_(this) { |
+ CHECK(false); |
transformer_helper_.Init(); |
aura::Env::GetInstance()->AddObserver(this); |
} |
@@ -290,11 +291,4 @@ void AshWindowTreeHostX11::SetCrOSTapPaused(bool state) { |
} |
#endif |
-AshWindowTreeHost* AshWindowTreeHost::Create( |
- const AshWindowTreeHostInitParams& init_params) { |
- if (init_params.offscreen) |
- return new AshWindowTreeHostUnified(init_params.initial_bounds); |
- return new AshWindowTreeHostX11(init_params.initial_bounds); |
-} |
- |
} // namespace ash |