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

Unified Diff: Source/core/loader/NavigationScheduler.cpp

Issue 28983004: Split the frame tree logic out of HistoryItem (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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: Source/core/loader/NavigationScheduler.cpp
diff --git a/Source/core/loader/NavigationScheduler.cpp b/Source/core/loader/NavigationScheduler.cpp
index e374a4e16cb84f8d0c29bdb1872a1df19fe0b9f3..a5974a9346a3dee58514915b199a30c90ac47a75 100644
--- a/Source/core/loader/NavigationScheduler.cpp
+++ b/Source/core/loader/NavigationScheduler.cpp
@@ -123,7 +123,7 @@ protected:
m_haveToldClient = true;
OwnPtr<UserGestureIndicator> gestureIndicator = createUserGestureIndicator();
- if (frame->loader().history()->currentItemShouldBeReplaced())
+ if (frame->page()->history()->currentItemShouldBeReplaced(frame))
setLockBackForwardList(true);
}
@@ -240,7 +240,7 @@ public:
m_haveToldClient = true;
OwnPtr<UserGestureIndicator> gestureIndicator = createUserGestureIndicator();
- if (frame->loader().history()->currentItemShouldBeReplaced())
+ if (frame->page()->history()->currentItemShouldBeReplaced(frame))
setLockBackForwardList(true);
}

Powered by Google App Engine
This is Rietveld 408576698