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 bb97eca1399414f07d395ae2f8d591d21d44c987..202caa8ac1914ad8683cc722cd1be5f75923ac3d 100644 |
--- a/ui/views/widget/native_widget_aura.cc |
+++ b/ui/views/widget/native_widget_aura.cc |
@@ -719,7 +719,7 @@ gfx::Size NativeWidgetAura::GetMinimumSize() const { |
void NativeWidgetAura::OnBoundsChanged(const gfx::Rect& old_bounds, |
const gfx::Rect& new_bounds) { |
if (old_bounds.origin() != new_bounds.origin()) |
- GetWidget()->widget_delegate()->OnWidgetMove(); |
+ delegate_->OnNativeWidgetMove(); |
if (old_bounds.size() != new_bounds.size()) { |
#if defined(ENABLE_DIP) |
delegate_->OnNativeWidgetSizeChanged( |