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

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: Rebasing the fixes... Created 3 years, 10 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 cc7ea7882e818228d17b6c5809f0dc1957f295c4..7869776f58be3611d908666d96f6b7393cf5cf59 100644
--- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
@@ -27,7 +27,7 @@ bool CSSPropertyMetadata::{{function_name}}(CSSPropertyID property) {
}
{% endfor %}
-bool CSSPropertyMetadata::isEnabledProperty(CSSPropertyID unresolvedProperty) {
+bool CSSPropertyMetadata::IsEnabledProperty(CSSPropertyID unresolvedProperty) {
CSSPropertyID property = resolveCSSPropertyID(unresolvedProperty);
static std::bitset<numCSSProperties>* enabledProperties = nullptr;
if (!enabledProperties) {
@@ -51,13 +51,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