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 9f20dd2b163894fa00944aa8790784e4205dc8e6..5269e0dc97a97404bcdac56b2dd442a1dab5c7b7 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(); |
} |