Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2479)

Unified Diff: services/navigation/view_impl.cc

Issue 2368183004: Move redirect_chain from NavigationEntry to FrameNavigationEntry. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/navigation/view_impl.cc
diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc
index c2d6b5e30f63a2ba92814d17a03a086b2bce8252..2f09a19c97a8002096249c276065ecd85ecdb50a 100644
--- a/services/navigation/view_impl.cc
+++ b/services/navigation/view_impl.cc
@@ -52,7 +52,7 @@ mojom::NavigationEntryPtr EntryPtrFromNavEntry(
entry_ptr->id = entry.GetUniqueID();
entry_ptr->url = entry.GetURL();
entry_ptr->title = base::UTF16ToUTF8(entry.GetTitle());
- entry_ptr->redirect_chain = entry.GetRedirectChain();
+ entry_ptr->redirect_chain = entry.GetMainFrameRedirectChain();
return entry_ptr;
}
« content/public/browser/navigation_entry.h ('K') | « content/public/browser/navigation_entry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698