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

Unified Diff: third_party/WebKit/Source/build/scripts/make_css_property_metadata.py

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
Index: third_party/WebKit/Source/build/scripts/make_css_property_metadata.py
diff --git a/third_party/WebKit/Source/build/scripts/make_css_property_metadata.py b/third_party/WebKit/Source/build/scripts/make_css_property_metadata.py
index 058367e60c73fc491a98567006f4349cc21f9006..9e5cfacf9259675a8da067691b918f5c4c489037 100755
--- a/third_party/WebKit/Source/build/scripts/make_css_property_metadata.py
+++ b/third_party/WebKit/Source/build/scripts/make_css_property_metadata.py
@@ -24,8 +24,8 @@ class CSSPropertyMetadataWriter(css_properties.CSSProperties):
def generate_css_property_metadata_cpp(self):
return {
'properties': self._properties,
- 'descriptors': self._descriptors,
- 'switches': [('interpolable', 'isInterpolableProperty'),
+ 'switches': [('descriptor_only', 'isDescriptorOnly'),
+ ('interpolable', 'isInterpolableProperty'),
('inherited', 'isInheritedProperty'),
('supports_percentage', 'propertySupportsPercentage'),
('repeated', 'propertyIsRepeated')

Powered by Google App Engine
This is Rietveld 408576698