Index: chrome/browser/ui/views/frame/browser_view.cc |
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc |
index 7397d11fc2cf087a12fad17b838764de9d241a42..cd9ce59b2e92aa8479a845086b411b602187ff3a 100644 |
--- a/chrome/browser/ui/views/frame/browser_view.cc |
+++ b/chrome/browser/ui/views/frame/browser_view.cc |
@@ -1733,13 +1733,10 @@ bool BrowserView::GetSavedWindowPlacement( |
#endif |
if ((browser_->is_type_popup() || browser_->is_type_panel()) && |
- bounds->width() == browser_->override_bounds().width() && |
- bounds->height() == browser_->override_bounds().height() && |
- !(browser_->is_app() && browser_->is_session_restore()) && |
+ !browser_->is_app() && |
!browser_->is_devtools()) { |
- // This is neither a popup window that has not been resized nor it is not an |
- // application window in the session restore phase. The value passed in |
- // |bounds| represents two pieces of information: |
+ // This is non-app popup window. The value passed in |bounds| represents |
+ // two pieces of information: |
// - the position of the window, in screen coordinates (outer position). |
// - the size of the content area (inner size). |
// We need to use these values to determine the appropriate size and |