summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/browser.cc')
-rw-r--r--chrome/browser/ui/browser.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index c1556d9..1133a6f 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1114,8 +1114,7 @@ void Browser::TabReplacedAt(TabStripModel* tab_strip_model,
if (entry_count > 0) {
// Send out notification so that observers are updated appropriately.
new_contents->GetController().NotifyEntryChanged(
- new_contents->GetController().GetEntryAtIndex(entry_count - 1),
- entry_count - 1);
+ new_contents->GetController().GetEntryAtIndex(entry_count - 1));
}
if (session_service) {