Index: chrome/browser/download/download_process_handle.cc |
diff --git a/chrome/browser/download/download_process_handle.cc b/chrome/browser/download/download_process_handle.cc |
index f4c7f321ddda56d2205eceee447831c98efcbbde..ba0016e9422492265d3fc8ab4b558f2e619b9168 100644 |
--- a/chrome/browser/download/download_process_handle.cc |
+++ b/chrome/browser/download/download_process_handle.cc |
@@ -26,6 +26,11 @@ TabContents* DownloadProcessHandle::GetTabContents() { |
return tab_util::GetTabContentsByID(child_id_, render_view_id_); |
} |
+TabContentsWrapper* DownloadProcessHandle::GetTabContentsWrapper() { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ return tab_util::GetTabContentsWrapperByID(child_id_, render_view_id_); |
+} |
+ |
DownloadManager* DownloadProcessHandle::GetDownloadManager() { |
TabContents* contents = GetTabContents(); |
if (!contents) |