Chromium Code Reviews| Index: content/browser/frame_host/render_frame_host_impl.cc |
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
| index 658e834230dd6fe39ee05f4891563fa7cc618f99..8f559bbae7c6ed257f10d47767786472cf66cd6b 100644 |
| --- a/content/browser/frame_host/render_frame_host_impl.cc |
| +++ b/content/browser/frame_host/render_frame_host_impl.cc |
| @@ -6,6 +6,7 @@ |
| #include "base/containers/hash_tables.h" |
| #include "base/lazy_instance.h" |
| +#include "content/browser/frame_host/cross_process_frame_connector.h" |
| #include "content/browser/frame_host/frame_tree.h" |
| #include "content/browser/frame_host/frame_tree_node.h" |
| #include "content/browser/frame_host/navigator.h" |
| @@ -44,6 +45,7 @@ RenderFrameHostImpl::RenderFrameHostImpl( |
| bool is_swapped_out) |
| : render_view_host_(render_view_host), |
| delegate_(delegate), |
| + cross_process_frame_connector_(NULL), |
| frame_tree_(frame_tree), |
| frame_tree_node_(frame_tree_node), |
| routing_id_(routing_id), |
| @@ -66,6 +68,11 @@ int RenderFrameHostImpl::GetRoutingID() { |
| return routing_id_; |
| } |
| +void RenderFrameHostImpl::SetCrossProcessFrameConnector( |
| + CrossProcessFrameConnector* cross_process_frame_connector) { |
| + cross_process_frame_connector_ = cross_process_frame_connector; |
|
Charlie Reis
2013/12/17 01:09:31
This is simple and can be inlined in the .h file,
awong
2013/12/17 02:45:27
Done.
|
| +} |
| + |
| bool RenderFrameHostImpl::Send(IPC::Message* message) { |
| return GetProcess()->Send(message); |
| } |