Index: content/test/test_render_frame_host.cc |
diff --git a/content/test/test_render_frame_host.cc b/content/test/test_render_frame_host.cc |
index 6558a129032199dc9ab0101ae138eb3b566d3fea..53173e94525bd3208f0cbbbda20c6313d07eeb37 100644 |
--- a/content/test/test_render_frame_host.cc |
+++ b/content/test/test_render_frame_host.cc |
@@ -133,8 +133,9 @@ void TestRenderFrameHost::SimulateRedirect(const GURL& new_url) { |
return; |
} |
- navigation_handle()->CallWillRedirectRequestForTesting(new_url, false, GURL(), |
- false); |
+ navigation_handle()->CallWillRedirectRequestForTesting( |
+ new_url, false, GURL(), false, |
+ content::NavigationHandle::ThrottleChecksFinishedCallback()); |
} |
void TestRenderFrameHost::SimulateNavigationCommit(const GURL& url) { |
@@ -521,7 +522,8 @@ void TestRenderFrameHost::SimulateWillStartRequest( |
return; |
navigation_handle()->CallWillStartRequestForTesting( |
false /* is_post */, Referrer(GURL(), blink::WebReferrerPolicyDefault), |
- true /* user_gesture */, transition, false /* is_external_protocol */); |
+ true /* user_gesture */, transition, false /* is_external_protocol */, |
+ content::NavigationHandle::ThrottleChecksFinishedCallback()); |
} |
} // namespace content |