Index: ui/views/widget/desktop_root_window_host_win.cc |
=================================================================== |
--- ui/views/widget/desktop_root_window_host_win.cc (revision 160403) |
+++ ui/views/widget/desktop_root_window_host_win.cc (working copy) |
@@ -76,7 +76,6 @@ |
root_window_->Init(); |
root_window_->AddChild(content_window_); |
- root_window_host_delegate_ = root_window_; |
native_widget_delegate_->OnNativeWidgetCreated(); |
@@ -306,6 +305,12 @@ |
//////////////////////////////////////////////////////////////////////////////// |
// DesktopRootWindowHostWin, RootWindowHost implementation: |
+ |
+void DesktopRootWindowHostWin::SetDelegate( |
+ aura::RootWindowHostDelegate* delegate) { |
+ root_window_host_delegate_ = delegate; |
+} |
+ |
aura::RootWindow* DesktopRootWindowHostWin::GetRootWindow() { |
return root_window_; |
} |