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

Unified Diff: chrome/browser/ui/browser_tab_strip_model_delegate.cc

Issue 10831308: Revert 151036 - Speculative revert to see if this change introduced a performance regression on Mac… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/ui/browser_tab_strip_model_delegate.cc
===================================================================
--- chrome/browser/ui/browser_tab_strip_model_delegate.cc (revision 151481)
+++ chrome/browser/ui/browser_tab_strip_model_delegate.cc (working copy)
@@ -131,8 +131,7 @@
// We only create historical tab entries for tabbed browser windows.
if (service && browser_->CanSupportWindowFeature(Browser::FEATURE_TABSTRIP)) {
- service->CreateHistoricalTab(
- &contents->web_contents()->GetController(),
+ service->CreateHistoricalTab(contents->web_contents(),
browser_->tab_strip_model()->GetIndexOfTabContents(contents));
}
}

Powered by Google App Engine
This is Rietveld 408576698