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

Unified Diff: content/browser/frame_host/render_frame_host_manager_unittest.cc

Issue 2561983002: NavigationController: Reload methods migration (Closed)
Patch Set: one more mac build fix Created 4 years 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: content/browser/frame_host/render_frame_host_manager_unittest.cc
diff --git a/content/browser/frame_host/render_frame_host_manager_unittest.cc b/content/browser/frame_host/render_frame_host_manager_unittest.cc
index f33bea5eb2f332bfa5f245d7f5dd8b8fcbd7e79d..4ef830fb8aca12e8b46862516cc475023caf5397 100644
--- a/content/browser/frame_host/render_frame_host_manager_unittest.cc
+++ b/content/browser/frame_host/render_frame_host_manager_unittest.cc
@@ -1533,7 +1533,7 @@ TEST_F(RenderFrameHostManagerTest, CleanUpSwappedOutRVHOnProcessCrash) {
// Reload the initial tab. This should recreate the opener's swapped out RVH
// in the original SiteInstance.
- contents()->GetController().Reload(true);
+ contents()->GetController().Reload(ReloadType::NORMAL, true);
contents()->GetMainFrame()->PrepareForCommit();
EXPECT_TRUE(
opener1_manager->GetSwappedOutRenderViewHost(rfh1->GetSiteInstance())
@@ -2580,7 +2580,7 @@ void RenderFrameHostManagerTest::BaseSimultaneousNavigationWithOneWebUI(
EXPECT_TRUE(web_ui);
// Starts a reload of the WebUI page.
- contents()->GetController().Reload(true);
+ contents()->GetController().Reload(ReloadType::NORMAL, true);
main_test_rfh()->PrepareForCommit();
// It should be a same-site navigation reusing the same WebUI.
@@ -2672,7 +2672,7 @@ void RenderFrameHostManagerTest::BaseSimultaneousNavigationWithTwoWebUIs(
EXPECT_TRUE(web_ui1);
// Starts a reload of the WebUI page.
- contents()->GetController().Reload(true);
+ contents()->GetController().Reload(ReloadType::NORMAL, true);
// It should be a same-site navigation reusing the same WebUI.
EXPECT_EQ(web_ui1, manager->GetNavigatingWebUI());

Powered by Google App Engine
This is Rietveld 408576698