summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/frame/history.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/frame/history.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/frame/history.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/frame/history.cc b/chromium/third_party/blink/renderer/core/frame/history.cc
index 2db3ecfcf0c..1c0cc93ee1b 100644
--- a/chromium/third_party/blink/renderer/core/frame/history.cc
+++ b/chromium/third_party/blink/renderer/core/frame/history.cc
@@ -341,9 +341,8 @@ void History::StateObjectAdded(
return;
}
- DomWindow()->document()->Loader()->UpdateForSameDocumentNavigation(
- full_url, kSameDocumentNavigationHistoryApi, std::move(data),
- restoration_type, type, DomWindow()->document());
+ DomWindow()->document()->Loader()->RunURLAndHistoryUpdateSteps(
+ full_url, std::move(data), restoration_type, type);
}
} // namespace blink