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

Unified Diff: Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl

Issue 1096963002: Make UseCounters work on aliased properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/build/scripts/make_css_property_names.py ('k') | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
diff --git a/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl b/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
index 50c2650c17361432253ba98846f07e9db4d6377c..9c822ae008617f43447a23f28d4ef0ee8cca0fb1 100644
--- a/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
+++ b/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
@@ -26,8 +26,9 @@ bool CSSPropertyMetadata::{{function_name}}(CSSPropertyID property)
}
{% endfor %}
-bool CSSPropertyMetadata::isEnabledProperty(CSSPropertyID property)
+bool CSSPropertyMetadata::isEnabledProperty(CSSPropertyID unresolvedProperty)
{
+ CSSPropertyID property = resolveCSSPropertyID(unresolvedProperty);
static BitArray<numCSSProperties>* enabledProperties = 0;
if (!enabledProperties) {
enabledProperties = new BitArray<numCSSProperties>(true); // All bits sets to 1.
« no previous file with comments | « Source/build/scripts/make_css_property_names.py ('k') | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698