Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
index 41bed10b1ee7cfb9f8db461493123100a1bc9460..6be16e9e4ae302bf0815b4b9ca0546ebe385a839 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
@@ -34,7 +34,6 @@ |
#include "bindings/core/v8/ScriptController.h" |
#include "core/dom/Document.h" |
#include "core/fetch/ClientHintsPreferences.h" |
-#include "core/fetch/ResourceLoader.h" |
#include "core/fetch/UniqueIdentifier.h" |
#include "core/frame/FrameConsole.h" |
#include "core/frame/FrameHost.h" |
@@ -240,9 +239,6 @@ void FrameFetchContext::dispatchDidReceiveResponse(unsigned long identifier, con |
m_documentLoader->clientHintsPreferences().updateFromAcceptClientHintsHeader(response.httpHeaderField("accept-ch"), fetcher); |
} |
- if (response.hasMajorCertificateErrors() && resourceLoader) |
- MixedContentChecker::handleCertificateError(frame(), resourceLoader->originalRequest(), response); |
- |
frame()->loader().progress().incrementProgress(identifier, response); |
frame()->loader().client()->dispatchDidReceiveResponse(m_documentLoader, identifier, response); |
TRACE_EVENT_INSTANT1("devtools.timeline", "ResourceReceiveResponse", TRACE_EVENT_SCOPE_THREAD, "data", InspectorReceiveResponseEvent::data(identifier, frame(), response)); |