diff options
Diffstat (limited to 'chrome/browser/ui/browser_instant_controller.cc')
-rw-r--r-- | chrome/browser/ui/browser_instant_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/browser_instant_controller.cc b/chrome/browser/ui/browser_instant_controller.cc index e8f9dba..3cab847 100644 --- a/chrome/browser/ui/browser_instant_controller.cc +++ b/chrome/browser/ui/browser_instant_controller.cc @@ -92,7 +92,7 @@ void BrowserInstantController::CommitInstant(TabContents* preview, bool in_new_tab) { if (in_new_tab) { // TabStripModel takes ownership of |preview|. - browser_->tab_strip_model()->AddTabContents(preview, -1, + browser_->tab_strip_model()->AddWebContents(preview->web_contents(), -1, instant_.last_transition_type(), TabStripModel::ADD_ACTIVE); } else { TabContents* active_tab = |