diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 21:11:32 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 21:11:32 +0000 |
commit | 371d64ad1a0f5672f6ca396dfcd66c723926db97 (patch) | |
tree | 8b369e640bfd31f02c994772f1a19d9683837dd3 /chrome/browser/favicon | |
parent | 8ce34b4642c675a0ba0787d8f21f16bafa05e869 (diff) | |
download | chromium_src-371d64ad1a0f5672f6ca396dfcd66c723926db97.zip chromium_src-371d64ad1a0f5672f6ca396dfcd66c723926db97.tar.gz chromium_src-371d64ad1a0f5672f6ca396dfcd66c723926db97.tar.bz2 |
Remove straggling TabContents references.
BUG=107201
TEST=no visible change
Review URL: https://codereview.chromium.org/11577020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173207 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/favicon')
-rw-r--r-- | chrome/browser/favicon/favicon_handler.h | 1 | ||||
-rw-r--r-- | chrome/browser/favicon/favicon_handler_unittest.cc | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/favicon/favicon_handler.h b/chrome/browser/favicon/favicon_handler.h index a7ba7aa..e415bc7 100644 --- a/chrome/browser/favicon/favicon_handler.h +++ b/chrome/browser/favicon/favicon_handler.h @@ -254,7 +254,6 @@ class FaviconHandler { GURL url_; // Whether we got the initial response for the favicon back from the renderer. - // See "Favicon Details" in tab_contents.cc for more details. bool got_favicon_from_history_; // Whether the favicon is out of date or the favicon data in diff --git a/chrome/browser/favicon/favicon_handler_unittest.cc b/chrome/browser/favicon/favicon_handler_unittest.cc index 5fc200f..8233e96 100644 --- a/chrome/browser/favicon/favicon_handler_unittest.cc +++ b/chrome/browser/favicon/favicon_handler_unittest.cc @@ -167,8 +167,8 @@ class HistoryRequestHandler { // of subclassing. class TestFaviconHandlerDelegate : public FaviconHandlerDelegate { public: - explicit TestFaviconHandlerDelegate(WebContents* tab_contents) - : tab_contents_(tab_contents) { + explicit TestFaviconHandlerDelegate(WebContents* web_contents) + : web_contents_(web_contents) { } virtual NavigationEntry* GetActiveEntry() { @@ -184,11 +184,11 @@ class TestFaviconHandlerDelegate : public FaviconHandlerDelegate { } virtual void NotifyFaviconUpdated() { - tab_contents_->NotifyNavigationStateChanged(content::INVALIDATE_TYPE_TAB); + web_contents_->NotifyNavigationStateChanged(content::INVALIDATE_TYPE_TAB); } private: - WebContents* tab_contents_; // weak + WebContents* web_contents_; // weak }; // This class is used to catch the FaviconHandler's download and history |