Index: Source/core/page/ContentSecurityPolicy.cpp |
diff --git a/Source/core/page/ContentSecurityPolicy.cpp b/Source/core/page/ContentSecurityPolicy.cpp |
index 0e881f4a2e077cac83c93f460f0f9af7b04f87f3..851ad74f0af52799772230e38ea892b1692974d7 100644 |
--- a/Source/core/page/ContentSecurityPolicy.cpp |
+++ b/Source/core/page/ContentSecurityPolicy.cpp |
@@ -1459,9 +1459,9 @@ void ContentSecurityPolicy::didReceiveHeader(const String& header, HeaderType ty |
if (m_scriptExecutionContext->isDocument()) { |
Document* document = toDocument(m_scriptExecutionContext); |
if (type == PrefixedReport || type == PrefixedEnforce) |
- UseCounter::measureDeprecatedFeature(document, getUseCounterType(type)); |
+ UseCounter::countDeprecation(document, getUseCounterType(type)); |
else |
- UseCounter::observe(document, getUseCounterType(type)); |
+ UseCounter::count(document, getUseCounterType(type)); |
} |
// RFC2616, section 4.2 specifies that headers appearing multiple times can |