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 4220b3a043854064d02a07f3ab87928b25502cec..c7896b35b388269068044ea5d11d9a41117c4ada 100644 |
--- a/ui/views/widget/native_widget_aura.cc |
+++ b/ui/views/widget/native_widget_aura.cc |
@@ -296,7 +296,7 @@ void NativeWidgetAura::CenterWindow(const gfx::Size& size) { |
work_area.set_origin(origin); |
} |
- parent_bounds = parent_bounds.Intersect(work_area); |
+ parent_bounds.Intersect(work_area); |
// If |window_|'s transient parent's bounds are big enough to fit it, then we |
// center it with respect to the transient parent. |