diff options
Diffstat (limited to 'chrome/browser/sessions/base_session_service.cc')
-rw-r--r-- | chrome/browser/sessions/base_session_service.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sessions/base_session_service.cc b/chrome/browser/sessions/base_session_service.cc index fcafbe0..832a26e 100644 --- a/chrome/browser/sessions/base_session_service.cc +++ b/chrome/browser/sessions/base_session_service.cc @@ -156,7 +156,7 @@ SessionCommand* BaseSessionService::CreateUpdateTabNavigationCommand( int bytes_written = 0; WriteStringToPickle(pickle, &bytes_written, max_state_size, - entry.virtual_url().spec()); + entry.display_url().spec()); WriteString16ToPickle(pickle, &bytes_written, max_state_size, entry.title()); @@ -215,7 +215,7 @@ bool BaseSessionService::RestoreUpdateTabNavigationCommand( } bool BaseSessionService::ShouldTrackEntry(const NavigationEntry& entry) { - return entry.virtual_url().is_valid(); + return entry.display_url().is_valid(); } bool BaseSessionService::ShouldTrackEntry(const TabNavigation& navigation) { |