| Index: content/browser/download/download_request_handle.cc
|
| diff --git a/content/browser/download/download_request_handle.cc b/content/browser/download/download_request_handle.cc
|
| index 09234b3170397f5a70ed59aeda4de1208d5534ca..d9ed0ee257fb24fee761e0cf3c5eb106247239c1 100644
|
| --- a/content/browser/download/download_request_handle.cc
|
| +++ b/content/browser/download/download_request_handle.cc
|
| @@ -56,20 +56,21 @@ DownloadRequestHandle::DownloadRequestHandle(ResourceDispatcherHost* rdh,
|
| }
|
|
|
| TabContents* DownloadRequestHandle::GetTabContents() const {
|
| - RenderViewHost* render_view_host =
|
| - RenderViewHost::FromID(child_id_, render_view_id_);
|
| + RenderViewHostImpl* render_view_host =
|
| + RenderViewHostImpl::FromID(child_id_, render_view_id_);
|
| if (!render_view_host)
|
| return NULL;
|
|
|
| return static_cast<TabContents*>(
|
| - render_view_host->delegate()->GetAsWebContents());
|
| + render_view_host->GetDelegate()->GetAsWebContents());
|
| }
|
|
|
| DownloadManager* DownloadRequestHandle::GetDownloadManager() const {
|
| - RenderViewHost* rvh = RenderViewHost::FromID(child_id_, render_view_id_);
|
| + RenderViewHostImpl* rvh = RenderViewHostImpl::FromID(
|
| + child_id_, render_view_id_);
|
| if (rvh == NULL)
|
| return NULL;
|
| - content::RenderProcessHost* rph = rvh->process();
|
| + content::RenderProcessHost* rph = rvh->GetProcess();
|
| if (rph == NULL)
|
| return NULL;
|
| content::BrowserContext* context = rph->GetBrowserContext();
|
|
|