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

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, 2 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: Source/core/loader/NavigationScheduler.cpp
diff --git a/Source/core/loader/NavigationScheduler.cpp b/Source/core/loader/NavigationScheduler.cpp
index 60db841d7e16d0ef44170f1dd8a7eef56b7c4d0e..ee87a36ad0072440e3777a39909f80fa605bb332 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->loader().history()->currentItemShouldBeReplaced(frame))
setLockBackForwardList(true);
}
@@ -240,7 +240,7 @@ public:
m_haveToldClient = true;
OwnPtr<UserGestureIndicator> gestureIndicator = createUserGestureIndicator();
- if (frame->loader().history()->currentItemShouldBeReplaced())
+ if (frame->loader().history()->currentItemShouldBeReplaced(frame))
setLockBackForwardList(true);
}

Powered by Google App Engine
This is Rietveld 408576698