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 5ae3fd8ef74f51fbc52a6482062f0c5356fa35bc..16bb7812431e433b8934479f5fa8e66ca92185db 100644 |
--- a/content/test/test_render_frame_host.cc |
+++ b/content/test/test_render_frame_host.cc |
@@ -259,10 +259,12 @@ void TestRenderFrameHost::SendNavigateWithParameters( |
ui::PageTransition transition, |
int response_code, |
const ModificationCallback& callback) { |
+ if (!IsBrowserSideNavigationEnabled()) |
+ OnDidStartLoading(true); |
+ |
// DidStartProvisionalLoad may delete the pending entry that holds |url|, |
// so we keep a copy of it to use below. |
GURL url_copy(url); |
- OnDidStartLoading(true); |
OnDidStartProvisionalLoad(url_copy, base::TimeTicks::Now()); |
FrameHostMsg_DidCommitProvisionalLoad_Params params; |