diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-05 17:05:35 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-05 17:05:35 +0000 |
commit | 3bd3b2be39ff89c234d33f0ee9620a80258cc2ca (patch) | |
tree | dc63e0e57b773a6dc7f39b3c663bfb735aadd793 /chrome/browser/tab_contents | |
parent | 4801ecc5ce684ec8556769cb173506b4645c618b (diff) | |
download | chromium_src-3bd3b2be39ff89c234d33f0ee9620a80258cc2ca.zip chromium_src-3bd3b2be39ff89c234d33f0ee9620a80258cc2ca.tar.gz chromium_src-3bd3b2be39ff89c234d33f0ee9620a80258cc2ca.tar.bz2 |
Remove more reliance on tab contents types.
Review URL: http://codereview.chromium.org/62041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/interstitial_page.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/interstitial_page.cc b/chrome/browser/tab_contents/interstitial_page.cc index d1701b3..65551a6 100644 --- a/chrome/browser/tab_contents/interstitial_page.cc +++ b/chrome/browser/tab_contents/interstitial_page.cc @@ -161,7 +161,7 @@ void InterstitialPage::Show() { (*tab_to_interstitial_page_)[tab_] = this; if (new_navigation_) { - NavigationEntry* entry = new NavigationEntry(TAB_CONTENTS_WEB); + NavigationEntry* entry = new NavigationEntry; entry->set_url(url_); entry->set_display_url(url_); entry->set_page_type(NavigationEntry::INTERSTITIAL_PAGE); |