Index: content/browser/frame_host/navigator_impl.cc |
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
index d0c1f85a4f3ba3fad4de173b5cd1f2bf36bf372f..0b015ddb698d4b5505b777ebcb9575094a1d25b8 100644 |
--- a/content/browser/frame_host/navigator_impl.cc |
+++ b/content/browser/frame_host/navigator_impl.cc |
@@ -703,7 +703,8 @@ void NavigatorImpl::RequestOpenURL( |
// subframe in the current tab. We'll assume it's for the main frame |
// (possibly of a new or different WebContents) otherwise. |
if (SiteIsolationPolicy::UseSubframeNavigationEntries() && |
- disposition == CURRENT_TAB && render_frame_host->GetParent()) { |
+ disposition == WindowOpenDisposition::CURRENT_TAB && |
+ render_frame_host->GetParent()) { |
frame_tree_node_id = |
render_frame_host->frame_tree_node()->frame_tree_node_id(); |
} |