Index: content/browser/frame_host/frame_tree_node.cc |
diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc |
index 80035481e39ec266930ea396077d05cdde8ec49d..cb1c0cc6c7b3792b975161349aed08125ed3554b 100644 |
--- a/content/browser/frame_host/frame_tree_node.cc |
+++ b/content/browser/frame_host/frame_tree_node.cc |
@@ -104,6 +104,13 @@ void FrameTreeNode::ResetForNewProcess() { |
old_children.clear(); // May notify observers. |
} |
+void FrameTreeNode::SetFrameName(const std::string& name) { |
+ replication_state_.name = name; |
+ |
+ // Notify this frame's proxies about the updated name. |
+ render_manager_.OnDidUpdateName(name); |
+} |
+ |
bool FrameTreeNode::IsDescendantOf(FrameTreeNode* other) const { |
if (!other || !other->child_count()) |
return false; |