aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/callback-location.patch
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-08-26 00:56:08 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-08-26 00:56:08 +0200
commit60f0f8eaa55ab1c80f3c78bc2d4019dfdd1acc2f (patch)
tree5007843e6f94b462cea0ab9506d1ea651e15cf81 /components/script/dom/bindings/codegen/parser/callback-location.patch
parent7ac24643023388a670e8f5c050f7d7a91f51920c (diff)
downloadservo-60f0f8eaa55ab1c80f3c78bc2d4019dfdd1acc2f.tar.gz
servo-60f0f8eaa55ab1c80f3c78bc2d4019dfdd1acc2f.zip
Update the WebIDL parser
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/callback-location.patch')
-rw-r--r--components/script/dom/bindings/codegen/parser/callback-location.patch6
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 ab6b0ae9b9b..fac5d035801 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 @@
diff --git a/components/script/dom/bindings/codegen/parser/WebIDL.py b/components/script/dom/bindings/codegen/parser/WebIDL.py
index da32340..81c52b7 100644
---- a/components/script/dom/bindings/codegen/parser/WebIDL.py
-+++ b/components/script/dom/bindings/codegen/parser/WebIDL.py
+--- WebIDL.py
++++ WebIDL.py
@@ -2170,7 +2170,7 @@ class IDLUnresolvedType(IDLType):
return typedefType.complete(scope)
elif obj.isCallback() and not obj.isInterface():
@@ -19,4 +19,4 @@ index da32340..81c52b7 100644
+ type = IDLCallbackType(obj.location, obj)
else:
type = IDLWrapperType(self.getLocation(p, 1), p[1])
- p[0] = self.handleModifiers(type, p[2]) \ No newline at end of file
+ p[0] = self.handleModifiers(type, p[2])