| Index: chrome/browser/sessions/session_restore.cc
|
| diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
|
| index c87817ab0ecdc7cbaeac72ef5e68f12024305cc4..9431ff3e0149d95490512de281f44259739d1a52 100644
|
| --- a/chrome/browser/sessions/session_restore.cc
|
| +++ b/chrome/browser/sessions/session_restore.cc
|
| @@ -553,7 +553,8 @@ class SessionRestoreImpl : public content::NotificationObserver {
|
| static_cast<Browser::Type>((*i)->type),
|
| (*i)->bounds,
|
| (*i)->show_state,
|
| - (*i)->app_name);
|
| + (*i)->app_name,
|
| + (*i)->user_has_changed_window_or_position);
|
|
|
| // Restore and show the browser.
|
| const int initial_tab_count = 0;
|
| @@ -826,7 +827,8 @@ class SessionRestoreImpl : public content::NotificationObserver {
|
| static_cast<Browser::Type>((*i)->type),
|
| (*i)->bounds,
|
| show_state,
|
| - (*i)->app_name);
|
| + (*i)->app_name,
|
| + (*i)->user_has_changed_window_or_position);
|
| }
|
| #if defined(OS_CHROMEOS)
|
| chromeos::BootTimesLoader::Get()->AddLoginTimeMarker(
|
| @@ -1000,12 +1002,15 @@ class SessionRestoreImpl : public content::NotificationObserver {
|
| Browser* CreateRestoredBrowser(Browser::Type type,
|
| gfx::Rect bounds,
|
| ui::WindowShowState show_state,
|
| - const std::string& app_name) {
|
| + const std::string& app_name,
|
| + bool user_has_changed_window_or_position) {
|
| Browser::CreateParams params(type, profile_);
|
| params.app_name = app_name;
|
| params.initial_bounds = bounds;
|
| params.initial_show_state = show_state;
|
| params.is_session_restore = true;
|
| + params.initial_user_has_changed_window_or_position =
|
| + user_has_changed_window_or_position;
|
| return new Browser(params);
|
| }
|
|
|
|
|