diff options
Diffstat (limited to 'src/ui/host/WindowHost.cpp')
-rw-r--r-- | src/ui/host/WindowHost.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ui/host/WindowHost.cpp b/src/ui/host/WindowHost.cpp index 9773c117..6849d000 100644 --- a/src/ui/host/WindowHost.cpp +++ b/src/ui/host/WindowHost.cpp @@ -105,11 +105,6 @@ inline void BindNativeEvent( WindowHost::WindowHost(controls::Control* root_control) : root_control_(root_control), focus_control_(root_control) { - root_control_->TraverseDescendants([this](controls::Control* control) { - control->window_host_ = this; - control->OnAttachToHost(this); - }); - root_render_object_ = root_control->GetRenderObject(); this->layout_paint_cycler_ = std::make_unique<LayoutPaintCycler>(this); |