aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-11-03 20:14:40 -0500
committerGitHub <noreply@github.com>2016-11-03 20:14:40 -0500
commit97e205c8ef01545ad8abcf7ac2efa9e53b846847 (patch)
tree498c631aa64fcfb9b0416e2dc4e9049804cfd3e2 /components/script/dom
parentce725c9475b9fb97a8559b29c1e7a080633cd002 (diff)
parent25d9d2b4ea84f4d2f7141df119a9d682a6e06cb8 (diff)
downloadservo-97e205c8ef01545ad8abcf7ac2efa9e53b846847.tar.gz
servo-97e205c8ef01545ad8abcf7ac2efa9e53b846847.zip
Auto merge of #14046 - servo:ws-callback, r=jdm
Add a missing newline. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14046) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/bindings/codegen/CodegenRust.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py
index 37d4eb0f892..246d155d1e0 100644
--- a/components/script/dom/bindings/codegen/CodegenRust.py
+++ b/components/script/dom/bindings/codegen/CodegenRust.py
@@ -6276,7 +6276,7 @@ class CGCallback(CGClass):
})
bodyWithoutThis = string.Template(
setupCall +
- "rooted!(in(s.get_context()) let thisObjJS = ptr::null_mut());"
+ "rooted!(in(s.get_context()) let thisObjJS = ptr::null_mut());\n"
"return ${methodName}(${callArgs});").substitute({
"callArgs": ", ".join(argnamesWithoutThis),
"methodName": 'self.' + method.name,