diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 22:55:30 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 22:55:30 +0000 |
commit | 627e05130fa2d98498dbd19fdcae4a173801d797 (patch) | |
tree | 6ab91bc7d842c689a509e897a09c5a789798ac17 /chrome/browser/history/top_sites.cc | |
parent | 632197304ce0bb8fa5cd8931fe90c3c19cdeeab8 (diff) | |
download | chromium_src-627e05130fa2d98498dbd19fdcae4a173801d797.zip chromium_src-627e05130fa2d98498dbd19fdcae4a173801d797.tar.gz chromium_src-627e05130fa2d98498dbd19fdcae4a173801d797.tar.bz2 |
Rename TabContents::browser_context() to GetBrowserContext and put it into the WebContents interface.
BUG=98716
Review URL: http://codereview.chromium.org/9021022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/top_sites.cc')
-rw-r--r-- | chrome/browser/history/top_sites.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/history/top_sites.cc b/chrome/browser/history/top_sites.cc index 32f8ba3..8e8e832 100644 --- a/chrome/browser/history/top_sites.cc +++ b/chrome/browser/history/top_sites.cc @@ -848,7 +848,7 @@ void TopSites::Observe(int type, NavigationController* controller = content::Source<NavigationController>(source).ptr(); Profile* profile = Profile::FromBrowserContext( - controller->tab_contents()->browser_context()); + controller->tab_contents()->GetBrowserContext()); if (profile == profile_ && !IsFull()) { content::LoadCommittedDetails* load_details = content::Details<content::LoadCommittedDetails>(details).ptr(); |