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

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

Issue 2815773003: Make json5_generator.Writer always take a list of files. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « third_party/WebKit/Source/build/scripts/json5_generator.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/make_css_property_apis.py
diff --git a/third_party/WebKit/Source/build/scripts/make_css_property_apis.py b/third_party/WebKit/Source/build/scripts/make_css_property_apis.py
index 1fd786a2852539c7c3e71919875ca0c4d61eb164..c092ae98a4ae8abc68dea0d67a18d645c4026777 100755
--- a/third_party/WebKit/Source/build/scripts/make_css_property_apis.py
+++ b/third_party/WebKit/Source/build/scripts/make_css_property_apis.py
@@ -35,12 +35,12 @@ def get_classname(property):
class CSSPropertyAPIWriter(StyleBuilderWriter):
def __init__(self, json5_file_paths):
- super(CSSPropertyAPIWriter, self).__init__(json5_file_paths[0])
+ super(CSSPropertyAPIWriter, self).__init__([json5_file_paths[0]])
# TODO(aazzam): Move the logic for loading CSSPropertyAPIMethods.json5 into a new class APIMethodsWriter().
assert len(json5_file_paths) == 2,\
'CSSPropertyAPIWriter requires 2 input json5 files files, got {}.'.format(len(json5_file_paths))
- self.css_property_api_methods = Json5File.load_from_files([json5_file_paths[1]], {}, {})
+ self.css_property_api_methods = Json5File.load_from_files([json5_file_paths[1]])
self._outputs = {
'CSSPropertyDescriptor.cpp': self.generate_property_descriptor_cpp,
« no previous file with comments | « third_party/WebKit/Source/build/scripts/json5_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698