Index: content/browser/frame_host/frame_tree_node.h |
diff --git a/content/browser/frame_host/frame_tree_node.h b/content/browser/frame_host/frame_tree_node.h |
index d257922a49550cc8ff10345ecec470194e19a7c8..07ca139b09fe28d7704f336b56704d1320fb3da7 100644 |
--- a/content/browser/frame_host/frame_tree_node.h |
+++ b/content/browser/frame_host/frame_tree_node.h |
@@ -97,6 +97,10 @@ class CONTENT_EXPORT FrameTreeNode { |
replication_state_.sandbox_flags = sandbox_flags; |
} |
+ bool HasSameOrigin(const FrameTreeNode& node) const { |
+ return replication_state_.origin.IsSameAs(node.replication_state_.origin); |
+ } |
+ |
const FrameReplicationState& current_replication_state() const { |
return replication_state_; |
} |