Index: chrome/browser/tabs/tab_strip_model.cc |
=================================================================== |
--- chrome/browser/tabs/tab_strip_model.cc (revision 5374) |
+++ chrome/browser/tabs/tab_strip_model.cc (working copy) |
@@ -9,7 +9,6 @@ |
#include "chrome/browser/browser.h" |
#include "chrome/browser/browser_about_handler.h" |
#include "chrome/browser/browser_process.h" |
-#include "chrome/browser/dom_ui/new_tab_ui.h" |
#include "chrome/browser/profile.h" |
#include "chrome/browser/navigation_controller.h" |
#include "chrome/browser/navigation_entry.h" |
@@ -334,7 +333,8 @@ |
TabContents* TabStripModel::AddBlankTab(bool foreground) { |
DCHECK(delegate_); |
TabContents* contents = delegate_->CreateTabContentsForURL( |
- NewTabUIURL(), GURL(), profile_, PageTransition::TYPED, false, NULL); |
+ delegate_->GetBlankTabURL(), GURL(), profile_, PageTransition::TYPED, |
+ false, NULL); |
AddTabContents(contents, -1, PageTransition::TYPED, foreground); |
return contents; |
} |
@@ -342,7 +342,8 @@ |
TabContents* TabStripModel::AddBlankTabAt(int index, bool foreground) { |
DCHECK(delegate_); |
TabContents* contents = delegate_->CreateTabContentsForURL( |
- NewTabUIURL(), GURL(), profile_, PageTransition::LINK, false, NULL); |
+ delegate_->GetBlankTabURL(), GURL(), profile_, PageTransition::LINK, |
+ false, NULL); |
AddTabContents(contents, index, PageTransition::LINK, foreground); |
return contents; |
} |