Chromium Code Reviews| 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_; |
| } |