diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-03-13 16:48:48 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-03-13 21:27:58 +0100 |
commit | 4157a2b02bcff44ccb476c1b3b52e4f74e650bf4 (patch) | |
tree | 4618c6c51144f8c19f9d8b89bf9d1689c7b42ee4 /components/script/dom/bindings/codegen/parser/external.patch | |
parent | 2382d71242b1f9fe6385b64436f3b18f8f0939bb (diff) | |
download | servo-4157a2b02bcff44ccb476c1b3b52e4f74e650bf4.tar.gz servo-4157a2b02bcff44ccb476c1b3b52e4f74e650bf4.zip |
Update the WebIDL parser.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/external.patch')
-rw-r--r-- | components/script/dom/bindings/codegen/parser/external.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/script/dom/bindings/codegen/parser/external.patch b/components/script/dom/bindings/codegen/parser/external.patch index 9464511a9d0..964a6d8774a 100644 --- a/components/script/dom/bindings/codegen/parser/external.patch +++ b/components/script/dom/bindings/codegen/parser/external.patch @@ -1,16 +1,18 @@ --- WebIDL.py +++ WebIDL.py -@@ -450,44 +450,8 @@ class IDLIdentifierPlaceholder(IDLObjectWithIdentifier): +@@ -505,46 +505,8 @@ class IDLExposureMixins(): - class IDLExternalInterface(IDLObjectWithIdentifier): + class IDLExternalInterface(IDLObjectWithIdentifier, IDLExposureMixins): def __init__(self, location, parentScope, identifier): - assert isinstance(identifier, IDLUnresolvedIdentifier) - assert isinstance(parentScope, IDLScope) - self.parent = None - IDLObjectWithIdentifier.__init__(self, location, parentScope, identifier) +- IDLExposureMixins.__init__(self, location) - IDLObjectWithIdentifier.resolve(self, parentScope) - - def finish(self, scope): +- IDLExposureMixins.finish(self, scope) - pass - - def validate(self): |