mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Indent the contents of obj_toString correctly.
This commit is contained in:
parent
eb4213f613
commit
504efb66fb
1 changed files with 4 additions and 4 deletions
|
@ -3706,12 +3706,12 @@ class CGDOMJSProxyHandler_obj_toString(CGAbstractExternMethod):
|
||||||
JSString* jsresult;
|
JSString* jsresult;
|
||||||
return xpc_qsStringToJsstring(cx, result, &jsresult) ? jsresult : NULL;"""
|
return xpc_qsStringToJsstring(cx, result, &jsresult) ? jsresult : NULL;"""
|
||||||
|
|
||||||
return """ "%s".to_c_str().with_ref(|s| {
|
return """"%s".to_c_str().with_ref(|s| {
|
||||||
_obj_toString(cx, s)
|
_obj_toString(cx, s)
|
||||||
})""" % self.descriptor.name
|
})""" % self.descriptor.name
|
||||||
|
|
||||||
def definition_body(self):
|
def definition_body(self):
|
||||||
return CGGeneric(self.getBody())
|
return CGIndenter(CGGeneric(self.getBody()))
|
||||||
|
|
||||||
class CGAbstractClassHook(CGAbstractExternMethod):
|
class CGAbstractClassHook(CGAbstractExternMethod):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue