summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_tabrestore.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/browser_tabrestore.cc')
-rw-r--r--chrome/browser/ui/browser_tabrestore.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/browser_tabrestore.cc b/chrome/browser/ui/browser_tabrestore.cc
index ac564a6..ff04683 100644
--- a/chrome/browser/ui/browser_tabrestore.cc
+++ b/chrome/browser/ui/browser_tabrestore.cc
@@ -140,7 +140,8 @@ void ReplaceRestoredTab(
session_storage_namespace,
user_agent_override);
- // ReplaceTabContentsAt won't animate in the restoration, so do it manually.
+ // ReplaceWebContentsAt won't animate in the restoration, so manually do the
+ // equivalent of ReplaceWebContentsAt.
int insertion_index = browser->active_index();
browser->tab_strip_model()->InsertWebContentsAt(
insertion_index + 1,