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

Unified Diff: content/public/test/test_renderer_host.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/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 6817a5a0ac6e40a6008973d12b39e46571055ffb..ad445cf5bac499392ebd6c1a730929ecf7be71e2 100644
--- a/content/public/test/test_renderer_host.cc
+++ b/content/public/test/test_renderer_host.cc
@@ -212,7 +212,7 @@ void RenderViewHostTestHarness::NavigateAndCommit(const GURL& url) {
void RenderViewHostTestHarness::Reload() {
NavigationEntry* entry = controller().GetLastCommittedEntry();
DCHECK(entry);
- controller().Reload(false);
+ controller().Reload(ReloadType::NORMAL, false);
Takashi Toyoshima 2016/12/15 06:21:52 for testing
RenderFrameHostTester::For(main_rfh())
->SendNavigateWithTransition(entry->GetUniqueID(),
false, entry->GetURL(),
@@ -222,7 +222,7 @@ void RenderViewHostTestHarness::Reload() {
void RenderViewHostTestHarness::FailedReload() {
NavigationEntry* entry = controller().GetLastCommittedEntry();
DCHECK(entry);
- controller().Reload(false);
+ controller().Reload(ReloadType::NORMAL, false);
Takashi Toyoshima 2016/12/15 06:21:52 ditto
RenderFrameHostTester::For(main_rfh())
->SendFailedNavigate(entry->GetUniqueID(), false, entry->GetURL());
}

Powered by Google App Engine
This is Rietveld 408576698