Index: third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp |
diff --git a/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp b/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp |
index 9d8c75e5deb39fce411ec48c6b6b663ad104e615..0214b7adfe4f94329619a4ad10d06e24dfcd7a1d 100644 |
--- a/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp |
+++ b/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp |
@@ -35,7 +35,7 @@ |
#include "core/dom/DOMArrayBufferView.h" |
#include "core/dom/DOMArrayPiece.h" |
#include "core/dom/ExecutionContext.h" |
-#include "core/frame/UseCounter.h" |
+#include "core/frame/Deprecation.h" |
#include "modules/crypto/CryptoHistograms.h" |
#include "modules/crypto/CryptoKey.h" |
#include "modules/crypto/CryptoResultImpl.h" |
@@ -67,7 +67,7 @@ static bool canAccessWebCrypto(ScriptState* scriptState, CryptoResult* result) { |
} |
if (!scriptState->getExecutionContext()->isSecureContext()) { |
- UseCounter::count( |
+ Deprecation::countDeprecation( |
scriptState->getExecutionContext(), |
UseCounter::SubtleCryptoOnlyStrictSecureContextCheckFailed); |
} |