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

Unified Diff: content/browser/web_contents/aura/overscroll_navigation_overlay.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: content/browser/web_contents/aura/overscroll_navigation_overlay.cc
diff --git a/content/browser/web_contents/aura/overscroll_navigation_overlay.cc b/content/browser/web_contents/aura/overscroll_navigation_overlay.cc
index e5e2019d223d977ce9c96489f49e0188db760615..75c40c83a73f37eb53fb07452efdd2e772f88bae 100644
--- a/content/browser/web_contents/aura/overscroll_navigation_overlay.cc
+++ b/content/browser/web_contents/aura/overscroll_navigation_overlay.cc
@@ -36,7 +36,7 @@ bool DoesEntryMatchURL(NavigationEntry* entry, const GURL& url) {
return false;
if (entry->GetURL() == url)
return true;
- const std::vector<GURL>& redirect_chain = entry->GetRedirectChain();
+ const std::vector<GURL>& redirect_chain = entry->GetMainFrameRedirectChain();
for (std::vector<GURL>::const_iterator it = redirect_chain.begin();
it != redirect_chain.end();
it++) {

Powered by Google App Engine
This is Rietveld 408576698