Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: ash/host/ash_window_tree_host_x11.cc

Issue 1641003002: [exp] ash: Ash in Mus. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/host/ash_window_tree_host_ozone.cc ('k') | ash/host/transformer_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ash/host/ash_window_tree_host_ozone.cc ('k') | ash/host/transformer_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698