| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index 9e48b3385b43c931398739f86008b1903ea39a11..d419e995aa0c60c63d16bcf5e6dd6f447bc24814 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -5965,7 +5965,10 @@ TEST_P(ParameterizedWebFrameTest, SameDocumentHistoryNavigationCommitType)
|
| RefPtrWillBePersistent<HistoryItem> item = toLocalFrame(webViewImpl->page()->mainFrame())->loader().currentItem();
|
| runPendingTasks();
|
|
|
| - toLocalFrame(webViewImpl->page()->mainFrame())->loader().loadHistoryItem(item.get(), FrameLoadTypeBackForward, HistorySameDocumentLoad);
|
| + toLocalFrame(webViewImpl->page()->mainFrame())->loader().load(
|
| + FrameLoadRequest(nullptr, FrameLoader::resourceRequestFromHistoryItem(
|
| + item.get(), UseProtocolCachePolicy)),
|
| + FrameLoadTypeBackForward, item.get(), HistorySameDocumentLoad);
|
| EXPECT_EQ(WebBackForwardCommit, client.lastCommitType());
|
| }
|
|
|
|
|