Index: chrome/browser/ui/browser_tabstrip.cc |
diff --git a/chrome/browser/ui/browser_tabstrip.cc b/chrome/browser/ui/browser_tabstrip.cc |
index aa308e062e0afeaf249650315e61f0549d14608b..9ffa6154bc431745253dd73591c7440f1bee4aff 100644 |
--- a/chrome/browser/ui/browser_tabstrip.cc |
+++ b/chrome/browser/ui/browser_tabstrip.cc |
@@ -9,6 +9,7 @@ |
#include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_navigator.h" |
+#include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/url_constants.h" |
@@ -28,7 +29,9 @@ void AddBlankTabAt(Browser* browser, int index, bool foreground) { |
params.disposition = foreground ? NEW_FOREGROUND_TAB : NEW_BACKGROUND_TAB; |
params.tabstrip_index = index; |
chrome::Navigate(¶ms); |
- params.target_contents->SetNewTabStartTime(new_tab_start_time); |
+ CoreTabHelper* core_tab_helper = |
+ CoreTabHelper::FromWebContents(params.target_contents); |
+ core_tab_helper->set_new_tab_start_time(new_tab_start_time); |
} |
content::WebContents* AddSelectedTabWithURL( |