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

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

Issue 2614773007: Use switches for CSSPropertyMetadata::isDescriptorOnly. (Closed)
Patch Set: remove typo Created 3 years, 11 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 | « third_party/WebKit/Source/build/scripts/make_css_property_metadata.py ('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/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 917fe7564d0ff6466e6b21f051961b1360142a9a..b9fe6ea0afdbad7f79b4aab901b2f464baea397d 100644
--- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
@@ -62,8 +62,4 @@ void CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(
}
}
-bool CSSPropertyMetadata::isDescriptorOnly(CSSPropertyID property) {
- return property >= {{descriptors[0].property_id}} && property <= {{descriptors[-1].property_id}};
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_css_property_metadata.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698