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 de0669e134337fb6cfe5524db9abde75cdd5f535..a6341ccb95d42d5050b35c2677dcdd7269d81592 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -2325,6 +2325,12 @@ bool RenderFrameHostImpl::IsRenderFrameLive() { |
return is_live; |
} |
+int RenderFrameHostImpl::GetProxyCount() { |
+ if (this != frame_tree_node_->current_frame_host()) |
+ return 0; |
+ return frame_tree_node_->render_manager()->GetProxyCount(); |
+} |
+ |
#if defined(OS_WIN) |
void RenderFrameHostImpl::SetParentNativeViewAccessible( |