| Index: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| index 07ae3e3795a89e8755350dd2aa2908ddea0a5294..747c7f381bfd7694dc65c36e6fee2eaec26731df 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
| @@ -37,7 +37,6 @@
|
| #include "core/frame/FrameConsole.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/frame/LocalFrameClient.h"
|
| -#include "core/inspector/InspectorNetworkAgent.h"
|
| #include "core/inspector/InspectorTraceEvents.h"
|
| #include "core/loader/DocumentThreadableLoaderClient.h"
|
| #include "core/loader/FrameLoader.h"
|
| @@ -387,9 +386,8 @@
|
| crossOriginRequest.setServiceWorkerMode(
|
| WebURLRequest::ServiceWorkerMode::None);
|
|
|
| - bool shouldForcePreflight = request.isExternalRequest();
|
| - if (!shouldForcePreflight)
|
| - probe::shouldForceCORSPreflight(document(), &shouldForcePreflight);
|
| + bool shouldForcePreflight = request.isExternalRequest() ||
|
| + probe::shouldForceCORSPreflight(document());
|
| bool canSkipPreflight =
|
| CrossOriginPreflightResultCache::shared().canSkipPreflight(
|
| getSecurityOrigin()->toString(), crossOriginRequest.url(),
|
|
|