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/user_style_sheet_watcher.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/user_style_sheet_watcher.cc')
-rw-r--r-- | chrome/browser/user_style_sheet_watcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/user_style_sheet_watcher.cc b/chrome/browser/user_style_sheet_watcher.cc index 114ec39..5b2371d 100644 --- a/chrome/browser/user_style_sheet_watcher.cc +++ b/chrome/browser/user_style_sheet_watcher.cc @@ -176,7 +176,7 @@ void UserStyleSheetWatcher::Observe(int type, DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); DCHECK(type == content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB); if (profile_->IsSameProfile(Profile::FromBrowserContext( - content::Source<TabContents>(source)->browser_context()))) { + content::Source<TabContents>(source)->GetBrowserContext()))) { loader_->NotifyLoaded(); registrar_.RemoveAll(); } |