diff options
Diffstat (limited to 'content/public/test/test_renderer_host.cc')
-rw-r--r-- | content/public/test/test_renderer_host.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc index b233e8a..fea075d 100644 --- a/content/public/test/test_renderer_host.cc +++ b/content/public/test/test_renderer_host.cc @@ -163,19 +163,16 @@ void RenderViewHostTestHarness::Reload() { NavigationEntry* entry = controller().GetLastCommittedEntry(); DCHECK(entry); controller().Reload(false); - RenderFrameHostTester::For(main_rfh()) - ->SendNavigateWithTransition(entry->GetPageID(), entry->GetUniqueID(), - false, entry->GetURL(), - ui::PAGE_TRANSITION_RELOAD); + RenderFrameHostTester::For(main_rfh())->SendNavigateWithTransition( + entry->GetPageID(), entry->GetURL(), ui::PAGE_TRANSITION_RELOAD); } void RenderViewHostTestHarness::FailedReload() { NavigationEntry* entry = controller().GetLastCommittedEntry(); DCHECK(entry); controller().Reload(false); - RenderFrameHostTester::For(main_rfh()) - ->SendFailedNavigate(entry->GetPageID(), entry->GetUniqueID(), false, - entry->GetURL()); + RenderFrameHostTester::For(main_rfh())->SendFailedNavigate(entry->GetPageID(), + entry->GetURL()); } void RenderViewHostTestHarness::SetUp() { |