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

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

Issue 2561983002: NavigationController: Reload methods migration (Closed)
Patch Set: merge master 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 6fb015f21aa5104669eeb802b8fb34f2599c5611..9615c1375b7f59f41be01480e52dbf5de4b9c7ba 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());
« no previous file with comments | « content/browser/frame_host/navigator_impl_unittest.cc ('k') | content/browser/loader/resource_dispatcher_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698