Chromium Code Reviews| Index: components/sessions/core/tab_restore_service.cc |
| diff --git a/components/sessions/core/tab_restore_service.cc b/components/sessions/core/tab_restore_service.cc |
| index a69dc3d22ecef6c4380d7c1ffcb71f1efa648ad0..7ce247c878bc88916fbaddf2c5905fae8c6ece03 100644 |
| --- a/components/sessions/core/tab_restore_service.cc |
| +++ b/components/sessions/core/tab_restore_service.cc |
| @@ -38,7 +38,7 @@ TabRestoreService::Tab::Tab() |
| } |
| TabRestoreService::Tab::Tab(const TabRestoreService::Tab& tab) |
| - : Entry(TAB), |
| + : Entry(tab), |
| navigations(tab.navigations), |
| current_navigation_index(tab.current_navigation_index), |
| browser_id(tab.browser_id), |
| @@ -55,6 +55,9 @@ TabRestoreService::Tab::~Tab() { |
| TabRestoreService::Tab& TabRestoreService::Tab::operator=( |
| const TabRestoreService::Tab& tab) { |
| + id = tab.id; |
| + type = tab.type; |
| + from_last_session = tab.from_last_session; |
|
sky
2016/07/06 16:09:07
What about timestamp?
blundell
2016/07/19 11:21:54
Done, thanks.
|
| navigations = tab.navigations; |
| current_navigation_index = tab.current_navigation_index; |
| browser_id = tab.browser_id; |