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 3251c96febfb4349bfa649da5436a64fdf3e9f7b..dcf8b81f683289fe398bd23644f79efdf7e19422 100644 |
--- a/ui/views/mus/window_tree_host_mus.cc |
+++ b/ui/views/mus/window_tree_host_mus.cc |
@@ -54,6 +54,8 @@ WindowTreeHostMus::WindowTreeHostMus(shell::Connector* connector, |
} |
SetPlatformWindow(base::WrapUnique(new ui::StubWindow(nullptr))); |
+ // Initialize the stub platform window bounds to those of the mus::Window. |
+ platform_window()->SetBounds(window->bounds()); |
sky
2016/06/03 22:12:52
This seems right to me. I see another bug, will fi
|
// The location of events is already transformed, and there is no way to |
// correctly determine the reverse transform. So, don't attempt to transform |