Index: services/ui/demo/window_tree_data.cc |
diff --git a/services/ui/demo/window_tree_data.cc b/services/ui/demo/window_tree_data.cc |
index 3d78c94df668343d7eb38d73ca32305ff5fd923c..779ac9a065a2f613c9e37a79594208f0325a64a6 100644 |
--- a/services/ui/demo/window_tree_data.cc |
+++ b/services/ui/demo/window_tree_data.cc |
@@ -73,6 +73,10 @@ void WindowTreeData::Init( |
// Take ownership of the WTH. |
window_tree_host_ = std::move(window_tree_host); |
+ InitImpl(window_tree_host_.get()); |
+} |
+ |
+void WindowTreeData::InitImpl(aura::WindowTreeHostMus* window_tree_host) { |
fwang
2017/03/07 09:21:25
Let's keep this in one function and only do the ab
tonikitoo
2017/03/07 14:00:49
Done.
|
// Initialize the window for the bitmap. |
window_delegate_ = new aura_extra::ImageWindowDelegate(); |
aura::Window* root_window = window_tree_host_->window(); |