diff options
author | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2019-07-11 13:16:10 +0900 |
---|---|---|
committer | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2019-07-12 12:14:06 +0900 |
commit | 56f31c85ef9cc79140f375641302310c6680ded4 (patch) | |
tree | fc0616a5f5d1df4434e9974e5bc62db2389ffcef /components/script/dom/bindings/codegen/parser/callback-location.patch | |
parent | 5fdc7c0d2c787ef562809072e3dd7c3258dc8a83 (diff) | |
download | servo-56f31c85ef9cc79140f375641302310c6680ded4.tar.gz servo-56f31c85ef9cc79140f375641302310c6680ded4.zip |
Sync WebIDL.py with gecko
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/callback-location.patch')
-rw-r--r-- | components/script/dom/bindings/codegen/parser/callback-location.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/bindings/codegen/parser/callback-location.patch b/components/script/dom/bindings/codegen/parser/callback-location.patch index 00b3b034396..b7a308df631 100644 --- a/components/script/dom/bindings/codegen/parser/callback-location.patch +++ b/components/script/dom/bindings/codegen/parser/callback-location.patch @@ -1,7 +1,7 @@ --- WebIDL.py +++ WebIDL.py -@@ -2275,7 +2275,7 @@ class IDLUnresolvedType(IDLType): - return typedefType.complete(scope) +@@ -2283,7 +2283,7 @@ class IDLUnresolvedType(IDLType): + return typedefType.complete(scope).withExtendedAttributes(self.extraTypeAttributes) elif obj.isCallback() and not obj.isInterface(): assert self.name.name == obj.identifier.name - return IDLCallbackType(self.location, obj) @@ -9,7 +9,7 @@ name = self.name.resolve(scope, None) return IDLWrapperType(self.location, obj) -@@ -6688,7 +6688,7 @@ class Parser(Tokenizer): +@@ -6854,7 +6854,7 @@ class Parser(Tokenizer): type = IDLTypedefType(self.getLocation(p, 1), obj.innerType, obj.identifier.name) elif obj.isCallback() and not obj.isInterface(): |