Index: content/browser/frame_host/frame_tree.h |
diff --git a/content/browser/frame_host/frame_tree.h b/content/browser/frame_host/frame_tree.h |
index 5e58562a87912a98b2439aa872614d7f3a5a46a7..bd1f19aa25b879c45213ec4de77fc2e0abd65c45 100644 |
--- a/content/browser/frame_host/frame_tree.h |
+++ b/content/browser/frame_host/frame_tree.h |
@@ -50,9 +50,13 @@ class CONTENT_EXPORT FrameTree { |
RenderFrameHostManager::Delegate* manager_delegate); |
~FrameTree(); |
+ // Returns the FrameTreeNode with the given |frame_tree_node_id|. |
+ static FrameTreeNode* GloballyFindByID(int64 frame_tree_node_id); |
+ |
FrameTreeNode* root() const { return root_.get(); } |
- // Returns the FrameTreeNode with the given |frame_tree_node_id|. |
+ // Returns the FrameTreeNode with the given |frame_tree_node_id| if it is part |
+ // of this FrameTree. |
FrameTreeNode* FindByID(int64 frame_tree_node_id); |
// Returns the FrameTreeNode with the given renderer-specific |routing_id|. |