diff options
Diffstat (limited to 'chrome/browser/sessions')
4 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/sessions/base_session_service.cc b/chrome/browser/sessions/base_session_service.cc index 29bbf7b..8423478 100644 --- a/chrome/browser/sessions/base_session_service.cc +++ b/chrome/browser/sessions/base_session_service.cc @@ -153,7 +153,7 @@ SessionCommand* BaseSessionService::CreateUpdateTabNavigationCommand( std::numeric_limits<SessionCommand::size_type>::max() - 1024; int bytes_written = 0; - + WriteStringToPickle(pickle, &bytes_written, max_state_size, entry.display_url().spec()); diff --git a/chrome/browser/sessions/session_service.cc b/chrome/browser/sessions/session_service.cc index 780f4f1..5edabd9 100644 --- a/chrome/browser/sessions/session_service.cc +++ b/chrome/browser/sessions/session_service.cc @@ -812,7 +812,7 @@ bool SessionService::CreateTabsAndWindows( // Update the selected navigation index. tab->current_navigation_index = std::max(-1, tab->current_navigation_index - payload.index); - + // And update the index of existing navigations. for (std::vector<TabNavigation>::iterator i = tab->navigations.begin(); i != tab->navigations.end();) { diff --git a/chrome/browser/sessions/tab_restore_service.cc b/chrome/browser/sessions/tab_restore_service.cc index 134a898..b49e3f6 100644 --- a/chrome/browser/sessions/tab_restore_service.cc +++ b/chrome/browser/sessions/tab_restore_service.cc @@ -34,7 +34,7 @@ const size_t TabRestoreService::kMaxEntries = 10; // Identifier for commands written to file. // The ordering in the file is as follows: -// . When the user closes a tab a command of type +// . When the user closes a tab a command of type // kCommandSelectedNavigationInTab is written identifying the tab and // the selected index. This is followed by any number of // kCommandUpdateTabNavigation commands (1 per navigation entry). diff --git a/chrome/browser/sessions/tab_restore_service_unittest.cc b/chrome/browser/sessions/tab_restore_service_unittest.cc index bc5aefc..4537c8b 100644 --- a/chrome/browser/sessions/tab_restore_service_unittest.cc +++ b/chrome/browser/sessions/tab_restore_service_unittest.cc @@ -118,7 +118,7 @@ TEST_F(TabRestoreServiceTest, Basic) { // There should be two entries now. ASSERT_EQ(2, service_->entries().size()); - // Make sure the entry matches + // Make sure the entry matches entry = service_->entries().front(); ASSERT_EQ(TabRestoreService::TAB, entry->type); tab = static_cast<TabRestoreService::Tab*>(entry); |