| Index: ui/views/widget/native_widget_aura.cc
|
| diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
|
| index 0d804a6cf63e3726e053874af5c96d258fc3a3d6..8efbceadbd5a000fe2009694182242b2ac03757b 100644
|
| --- a/ui/views/widget/native_widget_aura.cc
|
| +++ b/ui/views/widget/native_widget_aura.cc
|
| @@ -131,6 +131,11 @@ void NativeWidgetAura::InitNativeWidget(const Widget::InitParams& params) {
|
| if (parent) {
|
| parent->AddChild(window_);
|
| } else {
|
| + // TODO(erg): Once I've threaded context through chrome, uncomment this
|
| + // check, which currently fails on the NULL == NULL case.
|
| + //
|
| + // DCHECK_NE(params.GetParent(), params.context);
|
| +
|
| // TODO(erg): Remove this NULL check once we've made everything in views
|
| // actually pass us a context.
|
| aura::RootWindow* root_window =
|
|
|