Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1024)

Unified Diff: Source/core/page/ContentSecurityPolicy.cpp

Issue 14070021: Rename 'UseCounter::observe' to 'UseCounter::count'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698