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

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

Issue 2620883002: Convert Settings.in, CSSValueKeywords.in, SVGCSSValueKeywords.in to json5 (Closed)
Patch Set: Convert CSSProperties.in to json5 format 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/json5_generator.py
diff --git a/third_party/WebKit/Source/build/scripts/json5_generator.py b/third_party/WebKit/Source/build/scripts/json5_generator.py
index a4b7416b6d4d1dbbe8f5d0881eef3f83abad1784..9b54be540b3ee5d90069a4596f9e17605e50198b 100644
--- a/third_party/WebKit/Source/build/scripts/json5_generator.py
+++ b/third_party/WebKit/Source/build/scripts/json5_generator.py
@@ -97,7 +97,7 @@ class Json5File(object):
self._process(doc)
@classmethod
- def load_from_files(cls, file_paths, default_metadata):
+ def load_from_files(cls, file_paths, default_metadata=None):
merged_doc = dict()
for path in file_paths:
assert path.endswith(".json5")

Powered by Google App Engine
This is Rietveld 408576698