Convert all of the WebContentsDelegate to use WebContents instead of TabContents, and update all the dependent code.
BUG=98716
TBR=joi
Review URL: http://codereview.chromium.org/9008047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115932 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc
index cb25d5f..29c8a15 100644
--- a/content/browser/download/download_manager_impl.cc
+++ b/content/browser/download/download_manager_impl.cc
@@ -38,6 +38,7 @@
using content::BrowserThread;
using content::DownloadItem;
+using content::WebContents;
namespace {
@@ -986,7 +987,7 @@
void DownloadManagerImpl::ShowDownloadInBrowser(DownloadItem* download) {
// The 'contents' may no longer exist if the user closed the tab before we
// get this start completion event.
- TabContents* content = download->GetTabContents();
+ WebContents* content = download->GetTabContents();
// If the contents no longer exists, we ask the embedder to suggest another
// tab.