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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.cpp

Issue 1514583004: Clean up CSSParserContext arguments in property parsing code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/UseCounter.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
index 504334b4fa9eb6949efcaad1291b35952e46c299..8b64750a93660a834ea958d0213647787389c5a2 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -960,12 +960,12 @@ String UseCounter::deprecationMessage(Feature feature)
}
}
-void UseCounter::count(CSSParserContext context, CSSPropertyID feature)
+void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID feature)
{
ASSERT(feature >= firstCSSProperty);
ASSERT(feature <= lastUnresolvedCSSProperty);
- if (!isUseCounterEnabledForMode(context.mode()))
+ if (!isUseCounterEnabledForMode(cssParserMode))
return;
m_CSSFeatureBits.quickSet(feature);
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698