| Index: chrome/browser/ui/tab_contents/tab_contents.cc
|
| diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc
|
| index 8f0f0dbf4245eb70ce3feea1d2ac77851e7ad667..b6dc733629cde661fb8bd44a103b1cc87e63427e 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 =
|
|
|