diff options
Diffstat (limited to 'views/widget/native_widget_aura.cc')
-rw-r--r-- | views/widget/native_widget_aura.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc index 7326fe4..8da5452 100644 --- a/views/widget/native_widget_aura.cc +++ b/views/widget/native_widget_aura.cc @@ -680,9 +680,6 @@ NativeWidgetPrivate* NativeWidgetPrivate::GetNativeWidgetForNativeWindow( // static NativeWidgetPrivate* NativeWidgetPrivate::GetTopLevelNativeWidget( gfx::NativeView native_view) { - if (!native_view) - return NULL; - aura::Window* window = native_view; NativeWidgetPrivate* top_level_native_widget = NULL; while (window) { |