Remove TabContents from BrowserWindow and website settings.

BUG=107201
TEST=no visible change


Review URL: https://chromiumcodereview.appspot.com/11413102

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169085 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index e0acc521..644c5cc 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -705,14 +705,12 @@
                   bool show_history) {
   Profile* profile = Profile::FromBrowserContext(
       web_contents->GetBrowserContext());
-  TabContents* tab_contents = TabContents::FromWebContents(web_contents);
-
   if (CommandLine::ForCurrentProcess()->HasSwitch(
       switches::kDisableWebsiteSettings)) {
     browser->window()->ShowPageInfo(web_contents, url, ssl, show_history);
   } else {
     browser->window()->ShowWebsiteSettings(
-        profile, tab_contents, url, ssl, show_history);
+        profile, web_contents, url, ssl, show_history);
   }
 }