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

Unified Diff: content/browser/frame_host/render_frame_proxy_host.h

Issue 404613005: Start using RenderFrameProxyHost objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/frame_host/render_frame_proxy_host.h
diff --git a/content/browser/frame_host/render_frame_proxy_host.h b/content/browser/frame_host/render_frame_proxy_host.h
index 218bcc411df0d4cbbcd4c6e953306baf57aed725..e78125100aa271768fa7d12bf8adb3a2100e7ea7 100644
--- a/content/browser/frame_host/render_frame_proxy_host.h
+++ b/content/browser/frame_host/render_frame_proxy_host.h
@@ -60,9 +60,13 @@ class RenderFrameProxyHost
virtual ~RenderFrameProxyHost();
RenderProcessHost* GetProcess() {
- return site_instance_->GetProcess();
+ return site_instance_->HasProcess() ? site_instance_->GetProcess() : NULL;
}
+ // Initializaes the object and creates the RenderFrameProxy in the process
ncarter (slow) 2014/07/21 20:31:57 zaes -> zes
kenrb 2014/07/24 17:53:53 Done.
+ // for the SiteInstance.
+ bool InitRenderFrameProxy();
+
int GetRoutingID() {
return routing_id_;
}

Powered by Google App Engine
This is Rietveld 408576698