| 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 15a360bdb226a5160d48071205357c46d9f58bf6..c1289356bf8018e79a48e839c5387a14de0a2e52 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| @@ -48,6 +48,7 @@
|
| #include "core/html/imports/HTMLImportsController.h"
|
| #include "core/inspector/ConsoleMessage.h"
|
| #include "core/inspector/IdentifiersFactory.h"
|
| +#include "core/inspector/InspectorNetworkAgent.h"
|
| #include "core/inspector/InspectorTraceEvents.h"
|
| #include "core/loader/DocumentLoader.h"
|
| #include "core/loader/FrameLoader.h"
|
| @@ -723,9 +724,7 @@
|
| SecurityViolationReportingPolicy reportingPolicy,
|
| FetchRequest::OriginRestriction originRestriction,
|
| ResourceRequest::RedirectStatus redirectStatus) const {
|
| - bool shouldBlockRequest = false;
|
| - probe::shouldBlockRequest(frame(), resourceRequest, &shouldBlockRequest);
|
| - if (shouldBlockRequest)
|
| + if (probe::shouldBlockRequest(frame(), resourceRequest))
|
| return ResourceRequestBlockedReason::Inspector;
|
|
|
| SecurityOrigin* securityOrigin = options.securityOrigin.get();
|
|
|