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, |