Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.cc

Issue 9030010: Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.cc ('k') | content/browser/ssl/ssl_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/resource_dispatcher_host.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host.cc (revision 115777)
+++ content/browser/renderer_host/resource_dispatcher_host.cc (working copy)
@@ -86,6 +86,7 @@
using base::TimeTicks;
using content::BrowserThread;
using content::ResourceResponse;
+using content::WebContents;
using webkit_blob::DeletableFileReference;
// ----------------------------------------------------------------------------
@@ -1987,7 +1988,7 @@
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;
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.cc ('k') | content/browser/ssl/ssl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698