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

Unified Diff: content/public/test/test_renderer_host.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
« no previous file with comments | « content/public/browser/reload_type.h ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_renderer_host.cc
diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc
index 2eabd212c1ccdadea8b5e73faa94fec25fff77b5..b813c80ff56d1f8eb9ced4f6b5ed3824723ff87a 100644
--- a/content/public/test/test_renderer_host.cc
+++ b/content/public/test/test_renderer_host.cc
@@ -242,7 +242,7 @@ void RenderViewHostTestHarness::NavigateAndCommit(const GURL& url) {
void RenderViewHostTestHarness::Reload() {
NavigationEntry* entry = controller().GetLastCommittedEntry();
DCHECK(entry);
- controller().Reload(false);
+ controller().Reload(ReloadType::NORMAL, false);
RenderFrameHostTester::For(main_rfh())
->SendNavigateWithTransition(entry->GetUniqueID(),
false, entry->GetURL(),
@@ -252,7 +252,7 @@ void RenderViewHostTestHarness::Reload() {
void RenderViewHostTestHarness::FailedReload() {
NavigationEntry* entry = controller().GetLastCommittedEntry();
DCHECK(entry);
- controller().Reload(false);
+ controller().Reload(ReloadType::NORMAL, false);
RenderFrameHostTester::For(main_rfh())
->SendFailedNavigate(entry->GetUniqueID(), false, entry->GetURL());
}
« no previous file with comments | « content/public/browser/reload_type.h ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698