| 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 9cfa91a3c0ad2382dc369a6fe010894e4352f515..4ab75d965838ed553938e0eb830a1dd052c72f13 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| @@ -38,6 +38,7 @@
|
| #include "core/fetch/Resource.h"
|
| #include "core/fetch/ResourceLoadingLog.h"
|
| #include "core/fetch/UniqueIdentifier.h"
|
| +#include "core/frame/Deprecation.h"
|
| #include "core/frame/FrameConsole.h"
|
| #include "core/frame/FrameHost.h"
|
| #include "core/frame/FrameView.h"
|
| @@ -763,11 +764,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);
|
| }
|
|
|