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

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

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 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
Index: third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
index d834f5483d5ebcf11564b5161c823889b32d7aab..f7c4f5ed5145d493376a87e0ff59ff3f8cb83a95 100644
--- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
@@ -30,7 +30,7 @@ bool CSSPropertyMetadata::{{function_name}}(CSSPropertyID unresolvedProperty) {
}
{% endfor %}
-char CSSPropertyMetadata::repetitionSeparator(CSSPropertyID unresolvedProperty) {
+char CSSPropertyMetadata::RepetitionSeparator(CSSPropertyID unresolvedProperty) {
switch (unresolvedProperty) {
{% for property in properties_including_aliases if property.separator %}
case {{property.property_id}}:
@@ -41,11 +41,11 @@ char CSSPropertyMetadata::repetitionSeparator(CSSPropertyID unresolvedProperty)
}
}
-bool CSSPropertyMetadata::propertyIsRepeated(CSSPropertyID unresolvedProperty) {
- return repetitionSeparator(unresolvedProperty) != 0;
+bool CSSPropertyMetadata::PropertyIsRepeated(CSSPropertyID unresolvedProperty) {
+ return RepetitionSeparator(unresolvedProperty) != 0;
}
-bool CSSPropertyMetadata::isEnabledProperty(CSSPropertyID unresolvedProperty) {
+bool CSSPropertyMetadata::IsEnabledProperty(CSSPropertyID unresolvedProperty) {
CSSPropertyID property = resolveCSSPropertyID(unresolvedProperty);
static std::bitset<numCSSProperties>* enabledProperties = nullptr;
if (!enabledProperties) {
@@ -69,13 +69,13 @@ bool CSSPropertyMetadata::isEnabledProperty(CSSPropertyID unresolvedProperty) {
return RuntimeEnabledFeatures::cssApplyAtRulesEnabled();
}
-void CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(
+void CSSPropertyMetadata::FilterEnabledCSSPropertiesIntoVector(
const CSSPropertyID* properties,
size_t propertyCount,
Vector<CSSPropertyID>& outVector) {
for (unsigned i = 0; i < propertyCount; i++) {
CSSPropertyID property = properties[i];
- if (isEnabledProperty(property))
+ if (IsEnabledProperty(property))
outVector.push_back(property);
}
}

Powered by Google App Engine
This is Rietveld 408576698