Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 62deecd922ed2890dd26c19932aac7c34d2c72ea..ed679224852e6b4631a4335b32c695015be47e3e 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1960,8 +1960,7 @@ bool WebContentsImpl::NavigateToPendingEntry( |
// is currently only used in --site-per-process and tests. |
// TODO(creis): Remove this method and NavigationEntryImpl::frame_tree_node_id |
// by using FrameNavigationEntries instead. See https://crbug.com/236848. |
- NavigationEntryImpl* pending_entry = |
- NavigationEntryImpl::FromNavigationEntry(controller_.GetPendingEntry()); |
+ NavigationEntryImpl* pending_entry = controller_.GetPendingEntry(); |
if (pending_entry->frame_tree_node_id() != -1) { |
FrameTreeNode* subframe = |
frame_tree_.FindByID(pending_entry->frame_tree_node_id()); |