| 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 379d3e4e1ff18131d8a6e710afd4d0ff23e18d0c..1bcf7cab21db16cd87719b0c151f544797d0cd2c 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "bindings/core/v8/ScriptController.h"
|
| #include "bindings/core/v8/V8DOMActivityLogger.h"
|
| #include "core/dom/Document.h"
|
| +#include "core/frame/Deprecation.h"
|
| #include "core/frame/FrameConsole.h"
|
| #include "core/frame/FrameHost.h"
|
| #include "core/frame/FrameView.h"
|
| @@ -764,11 +765,11 @@ ResourceRequestBlockedReason FrameFetchContext::canRequestInternal(
|
| if (SchemeRegistry::shouldTreatURLSchemeAsLegacy(url.protocol()) &&
|
| !SchemeRegistry::shouldTreatURLSchemeAsLegacy(
|
| frame()->document()->getSecurityOrigin()->protocol())) {
|
| - UseCounter::count(frame()->document(),
|
| - UseCounter::LegacyProtocolEmbeddedAsSubresource);
|
| + Deprecation::countDeprecation(
|
| + frame()->document(), UseCounter::LegacyProtocolEmbeddedAsSubresource);
|
| }
|
| if (!url.user().isEmpty() || !url.pass().isEmpty()) {
|
| - UseCounter::count(
|
| + Deprecation::countDeprecation(
|
| frame()->document(),
|
| UseCounter::RequestedSubresourceWithEmbeddedCredentials);
|
| }
|
|
|