diff options
Diffstat (limited to 'chrome/browser/ui/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/ui/tab_contents/tab_contents.cc | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc index 8f0f0db..b6dc733 100644 --- a/chrome/browser/ui/tab_contents/tab_contents.cc +++ b/chrome/browser/ui/tab_contents/tab_contents.cc @@ -73,7 +73,7 @@ TabContents::TabContents(WebContents* contents) in_destructor_(false), web_contents_(contents) { DCHECK(contents); - DCHECK(!GetOwningTabContentsForWebContents(contents)); + DCHECK(!FromWebContents(contents)); chrome::SetViewType(contents, chrome::VIEW_TYPE_TAB_CONTENTS); @@ -220,18 +220,6 @@ const TabContents* TabContents::GetCurrentWrapperForContents( return FromWebContents(contents); } -// static deprecated -TabContents* TabContents::GetOwningTabContentsForWebContents( - WebContents* contents) { - return FromWebContents(contents); -} - -// static deprecated -const TabContents* TabContents::GetOwningTabContentsForWebContents( - const WebContents* contents) { - return FromWebContents(contents); -} - // static TabContents* TabContents::FromWebContents(WebContents* contents) { TabContents** tab_contents = |