diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 18:27:46 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 18:27:46 +0000 |
commit | cca0f1e9ca8aa46a9088028ceb1f08e0a3f792b2 (patch) | |
tree | 84e486002d42744cea34f59d1b83ab29a0dc5354 /chrome/browser/sync | |
parent | 2a3197bb6a8a4c6f3a7affadce28cda638906131 (diff) | |
download | chromium_src-cca0f1e9ca8aa46a9088028ceb1f08e0a3f792b2.zip chromium_src-cca0f1e9ca8aa46a9088028ceb1f08e0a3f792b2.tar.gz chromium_src-cca0f1e9ca8aa46a9088028ceb1f08e0a3f792b2.tar.bz2 |
Convert all the notifications which use NavigationController to content::NavigationController. After this is done, we can then make WebContents return a content::NavigationEntry instead of the impl.
BUG=98716
TBR=joi
Review URL: http://codereview.chromium.org/9016047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116150 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r-- | chrome/browser/sync/glue/session_change_processor.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/sync/glue/session_change_processor.cc b/chrome/browser/sync/glue/session_change_processor.cc index a0e2f63..6402708 100644 --- a/chrome/browser/sync/glue/session_change_processor.cc +++ b/chrome/browser/sync/glue/session_change_processor.cc @@ -38,7 +38,8 @@ namespace { SyncedTabDelegate* ExtractSyncedTabDelegate( const content::NotificationSource& source) { TabContentsWrapper* tab = TabContentsWrapper::GetCurrentWrapperForContents( - content::Source<NavigationController>(source).ptr()->GetWebContents()); + content::Source<content::NavigationController>(source).ptr()-> + GetWebContents()); if (!tab) return NULL; return tab->synced_tab_delegate(); |