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

Unified Diff: trunk/src/chrome/browser/sessions/session_restore.cc

Issue 451703006: Revert 284870 "Set the web content's initial size only if the ta..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/sessions/session_restore.cc
===================================================================
--- trunk/src/chrome/browser/sessions/session_restore.cc (revision 288099)
+++ trunk/src/chrome/browser/sessions/session_restore.cc (working copy)
@@ -1044,14 +1044,14 @@
tab_index,
selected_index,
tab.extension_app_id,
- is_selected_tab, // select
+ false, // select
tab.pinned,
true,
session_storage_namespace.get(),
tab.user_agent_override);
// Regression check: check that the tab didn't start loading right away. The
// focused tab will be loaded by Browser, and TabLoader will load the rest.
- DCHECK(is_selected_tab || web_contents->GetController().NeedsReload());
+ DCHECK(web_contents->GetController().NeedsReload());
// Set up the file access rights for the selected navigation entry.
const int id = web_contents->GetRenderProcessHost()->GetID();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698