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

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

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 months 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
Index: content/browser/renderer_host/pepper_message_filter.cc
diff --git a/content/browser/renderer_host/pepper_message_filter.cc b/content/browser/renderer_host/pepper_message_filter.cc
index c4beed1cdccfcc12a42cdde4e7eb69500fad2fd2..1a77428b7173010030854597dd39238455403b01 100644
--- a/content/browser/renderer_host/pepper_message_filter.cc
+++ b/content/browser/renderer_host/pepper_message_filter.cc
@@ -707,12 +707,12 @@ bool PepperMessageFilter::CanUseSocketAPIs(int32 render_id) {
return true;
}
- RenderViewHost* render_view_host =
- RenderViewHost::FromID(process_id_, render_id);
+ RenderViewHostImpl* render_view_host =
+ RenderViewHostImpl::FromID(process_id_, render_id);
if (!render_view_host)
return false;
- content::SiteInstance* site_instance = render_view_host->site_instance();
+ content::SiteInstance* site_instance = render_view_host->GetSiteInstance();
if (!site_instance)
return false;
« no previous file with comments | « content/browser/renderer_host/java/java_bridge_dispatcher_host.cc ('k') | content/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698