Index: content/browser/web_contents/web_contents_impl_unittest.cc |
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc |
index 447c1c04b49f0ef25039b239ef229edc3ae51653..e33cc8095b7f2682af7ba9fa032ba311cd6e83ab 100644 |
--- a/content/browser/web_contents/web_contents_impl_unittest.cc |
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc |
@@ -874,10 +874,7 @@ TEST_F(WebContentsImplTest, NavigateFromRestoredSitelessUrl) { |
std::string(), browser_context()); |
new_entry->SetPageID(0); |
entries.push_back(std::move(new_entry)); |
- controller().Restore( |
- 0, |
- NavigationController::RESTORE_LAST_SESSION_EXITED_CLEANLY, |
- &entries); |
+ controller().Restore(0, RestoreType::LAST_SESSION_EXITED_CLEANLY, &entries); |
ASSERT_EQ(0u, entries.size()); |
ASSERT_EQ(1, controller().GetEntryCount()); |
@@ -924,10 +921,7 @@ TEST_F(WebContentsImplTest, NavigateFromRestoredRegularUrl) { |
std::string(), browser_context()); |
new_entry->SetPageID(0); |
entries.push_back(std::move(new_entry)); |
- controller().Restore( |
- 0, |
- NavigationController::RESTORE_LAST_SESSION_EXITED_CLEANLY, |
- &entries); |
+ controller().Restore(0, RestoreType::LAST_SESSION_EXITED_CLEANLY, &entries); |
ASSERT_EQ(0u, entries.size()); |
ASSERT_EQ(1, controller().GetEntryCount()); |