Convert chrome users of NavigationController::tab_contents() to use GetWebContents() instead.

BUG=98716
TBR=joi
Review URL: http://codereview.chromium.org/8986009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116086 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index 808366a..8b26b57 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -1579,8 +1579,8 @@
 
   notify_disconnection_ = false;
   content::NotificationService::current()->Notify(
-      content::NOTIFICATION_TAB_CONTENTS_DISCONNECTED,
-      content::Source<TabContents>(this),
+      content::NOTIFICATION_WEB_CONTENTS_DISCONNECTED,
+      content::Source<WebContents>(this),
       content::NotificationService::NoDetails());
 }
 
@@ -1613,7 +1613,7 @@
 void TabContents::RenderViewCreated(RenderViewHost* render_view_host) {
   content::NotificationService::current()->Notify(
       content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB,
-      content::Source<TabContents>(this),
+      content::Source<WebContents>(this),
       content::Details<RenderViewHost>(render_view_host));
   NavigationEntry* entry = controller_.GetActiveEntry();
   if (!entry)
@@ -1898,7 +1898,7 @@
     int32 page_id) {
   content::NotificationService::current()->Notify(
       content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME,
-      content::Source<TabContents>(this),
+      content::Source<WebContents>(this),
       content::Details<int>(&page_id));
 }