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 5f0c7aad333650f8fe2549f45346bbc710d751f1..df236574e30aeaeffe8dfa4108f08d7d1e593655 100644 |
--- a/content/browser/frame_host/frame_tree.h |
+++ b/content/browser/frame_host/frame_tree.h |
@@ -70,6 +70,10 @@ class CONTENT_EXPORT FrameTree { |
void ForEach(const base::Callback<bool(FrameTreeNode*)>& on_node) const; |
// Frame tree manipulation routines. |
+ // |process_id| is required to disambiguate |new_routing_id|, and it must |
+ // match the process of the |parent| node. Otherwise this method returns |
+ // nullptr. Passing MSG_ROUTING_NONE for |new_routing_id| will allocate a new |
+ // routing ID for the new frame. |
RenderFrameHostImpl* AddFrame(FrameTreeNode* parent, |
int process_id, |
int new_routing_id, |