Index: Source/core/loader/FrameFetchContext.cpp |
diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp |
index 9e9ef2c2d739d4c0c6afd1eff3942971b7f96bda..1d67de15d062d990f3e981ce1a367c253e07b95f 100644 |
--- a/Source/core/loader/FrameFetchContext.cpp |
+++ b/Source/core/loader/FrameFetchContext.cpp |
@@ -186,6 +186,7 @@ void FrameFetchContext::dispatchDidFinishLoading(DocumentLoader* loader, unsigne |
void FrameFetchContext::dispatchDidFail(DocumentLoader* loader, unsigned long identifier, const ResourceError& error) |
{ |
m_frame->loader().progress().completeProgress(identifier); |
+ m_frame->loader().client()->dispatchDidFinishLoading(loader, identifier); |
TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "ResourceFinish", "data", InspectorResourceFinishEvent::data(identifier, 0, true)); |
// FIXME(361045): remove InspectorInstrumentation calls once DevTools Timeline migrates to tracing. |
InspectorInstrumentation::didFailLoading(m_frame, identifier, error); |