diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-04 17:07:50 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-04 17:07:50 +0000 |
commit | c5eed4976490f601ad01f36e102260744c673b2d (patch) | |
tree | 64fb05d9ecf101bf0dc4460ecd26b56637b4e8d7 /chrome/browser/sync | |
parent | 8c64d197edc97f4cd646cff55a21af0b4733b942 (diff) | |
download | chromium_src-c5eed4976490f601ad01f36e102260744c673b2d.zip chromium_src-c5eed4976490f601ad01f36e102260744c673b2d.tar.gz chromium_src-c5eed4976490f601ad01f36e102260744c673b2d.tar.bz2 |
Get rid of content::NavigationController in cc file and use "using" instead.
BUG=98716
TBR=joi
Review URL: http://codereview.chromium.org/8983012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116328 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r-- | chrome/browser/sync/glue/session_change_processor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sync/glue/session_change_processor.cc b/chrome/browser/sync/glue/session_change_processor.cc index 79035bc..4cefc2a 100644 --- a/chrome/browser/sync/glue/session_change_processor.cc +++ b/chrome/browser/sync/glue/session_change_processor.cc @@ -27,6 +27,7 @@ #include "content/public/browser/web_contents.h" using content::BrowserThread; +using content::NavigationController; using content::WebContents; namespace browser_sync { @@ -38,8 +39,7 @@ namespace { SyncedTabDelegate* ExtractSyncedTabDelegate( const content::NotificationSource& source) { TabContentsWrapper* tab = TabContentsWrapper::GetCurrentWrapperForContents( - content::Source<content::NavigationController>(source).ptr()-> - GetWebContents()); + content::Source<NavigationController>(source).ptr()->GetWebContents()); if (!tab) return NULL; return tab->synced_tab_delegate(); |