Index: ui/views/mus/window_tree_host_mus.cc |
diff --git a/ui/views/mus/window_tree_host_mus.cc b/ui/views/mus/window_tree_host_mus.cc |
index dcf8b81f683289fe398bd23644f79efdf7e19422..2105f56bd7a53eb658d0f985817733c844751f68 100644 |
--- a/ui/views/mus/window_tree_host_mus.cc |
+++ b/ui/views/mus/window_tree_host_mus.cc |
@@ -53,7 +53,10 @@ WindowTreeHostMus::WindowTreeHostMus(shell::Connector* connector, |
bitmap_uploader_.get())); |
} |
- SetPlatformWindow(base::WrapUnique(new ui::StubWindow(nullptr))); |
+ SetPlatformWindow(base::WrapUnique(new ui::StubWindow( |
+ this, |
+ false))); // Do not advertise accelerated widget; already set manually. |
+ |
// Initialize the stub platform window bounds to those of the mus::Window. |
platform_window()->SetBounds(window->bounds()); |