summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/resource_dispatcher_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/resource_dispatcher_host.cc')
-rw-r--r--content/browser/renderer_host/resource_dispatcher_host.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc
index 46a1562..fbe3825 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host.cc
@@ -86,6 +86,7 @@ using base::TimeDelta;
using base::TimeTicks;
using content::BrowserThread;
using content::ResourceResponse;
+using content::WebContents;
using webkit_blob::DeletableFileReference;
// ----------------------------------------------------------------------------
@@ -1987,7 +1988,7 @@ void ResourceDispatcherHost::NotifyOnUI(int type,
if (rvh) {
RenderViewHostDelegate* rvhd = rvh->delegate();
content::NotificationService::current()->Notify(
- type, content::Source<RenderViewHostDelegate>(rvhd),
+ type, content::Source<WebContents>(rvhd->GetAsWebContents()),
content::Details<T>(detail));
}
delete detail;