Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1077)

Unified Diff: chrome/browser/tab_contents/render_view_host_manager.cc

Issue 341043: Changes session restore to use a normal load rather than preferring... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/render_view_host_manager.cc
===================================================================
--- chrome/browser/tab_contents/render_view_host_manager.cc (revision 30525)
+++ chrome/browser/tab_contents/render_view_host_manager.cc (working copy)
@@ -341,7 +341,7 @@
if (curr_instance->HasRelatedSiteInstance(dest_url)) {
return curr_instance->GetRelatedSiteInstance(dest_url);
} else {
- if (entry.restored())
+ if (entry.restore_type() != NavigationEntry::RESTORE_NONE)
curr_instance->SetSite(dest_url);
return curr_instance;
}
« no previous file with comments | « chrome/browser/tab_contents/navigation_entry_unittest.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698