Index: ui/views/mus/native_widget_mus.cc |
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc |
index d51516d71be7ae77097d58a99b670b3c67694697..93e1d4bbc16e6a5be858f1268fed6737802af2d8 100644 |
--- a/ui/views/mus/native_widget_mus.cc |
+++ b/ui/views/mus/native_widget_mus.cc |
@@ -180,7 +180,10 @@ NativeWidgetMus::NativeWidgetMus(internal::NativeWidgetDelegate* delegate, |
show_state_before_fullscreen_(ui::PLATFORM_WINDOW_STATE_UNKNOWN), |
ownership_(Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET), |
content_(new aura::Window(this)), |
- close_widget_factory_(this) {} |
+ close_widget_factory_(this) { |
+ // TODO(fsamuel): Figure out lifetime of |window_|. |
+ content_->SetNativeWindowProperty("mus", window_); |
+} |
NativeWidgetMus::~NativeWidgetMus() { |
if (ownership_ == Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET) |