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

Unified Diff: third_party/WebKit/Source/bindings/scripts/idl_types.py

Issue 2749253002: bindings: Expand typedefs before generating union files. (Closed)
Patch Set: Created 3 years, 9 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/bindings/scripts/idl_types.py
diff --git a/third_party/WebKit/Source/bindings/scripts/idl_types.py b/third_party/WebKit/Source/bindings/scripts/idl_types.py
index d218ab042a259b16d82d9af7c6499ca854456135..104e020e0963c2d36082e593104011c41c378e93 100644
--- a/third_party/WebKit/Source/bindings/scripts/idl_types.py
+++ b/third_party/WebKit/Source/bindings/scripts/idl_types.py
@@ -379,7 +379,7 @@ class IdlUnionType(IdlTypeBase):
def resolve_typedefs(self, typedefs):
self.member_types = [
- typedefs.get(member_type, member_type)
+ member_type.resolve_typedefs(typedefs)
for member_type in self.member_types]
return self

Powered by Google App Engine
This is Rietveld 408576698