diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 20:38:22 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 20:38:22 +0000 |
commit | ee61392aa2dafe8bf6275a781b24ab0b35d0254e (patch) | |
tree | cbe8e94683758897b7efb052d14cf299b33bbfb0 /chrome/browser/tab_contents/tab_contents.cc | |
parent | 5980c304e7cdc554af5a2eba4d5cca573b0b0d1f (diff) | |
download | chromium_src-ee61392aa2dafe8bf6275a781b24ab0b35d0254e.zip chromium_src-ee61392aa2dafe8bf6275a781b24ab0b35d0254e.tar.gz chromium_src-ee61392aa2dafe8bf6275a781b24ab0b35d0254e.tar.bz2 |
Remove the ability to load lazy URLs from the NavigationController. This is no
longer used (except for a test that doens't seem to need it). We used to use
this feature for session restore, but it has since changed.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/191008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index d86a9bf..b5b5111 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -472,8 +472,6 @@ const string16& TabContents::GetTitle() const { entry = controller_.GetLastCommittedEntry(); if (entry) return entry->GetTitleForDisplay(&controller_); - else if (controller_.LoadingURLLazily()) - return controller_.GetLazyTitle(); return EmptyString16(); } @@ -523,8 +521,6 @@ SkBitmap TabContents::GetFavIcon() const { entry = controller_.GetLastCommittedEntry(); if (entry) return entry->favicon().bitmap(); - else if (controller_.LoadingURLLazily()) - return controller_.GetLazyFavIcon(); return SkBitmap(); } |