Bug 1704293 - Fix lint on Codegen.py . CLOSED TREE

This commit is contained in:
Narcis Beleuzu 2021-04-20 01:48:50 +03:00
parent c7da51d612
commit 058229227c

View File

@ -13659,7 +13659,8 @@ class CGResolveOwnProperty(CGAbstractStaticMethod):
)
def definition_body(self):
return dedent("""
return dedent(
"""
JS::Rooted<mozilla::Maybe<JS::PropertyDescriptor>> ownDesc(cx);
if (!js::GetProxyHandler(obj)->getOwnPropertyDescriptor(cx, wrapper, id, &ownDesc)) {
return false;
@ -13672,7 +13673,8 @@ class CGResolveOwnProperty(CGAbstractStaticMethod):
}
return true;
""")
"""
)
class CGResolveOwnPropertyViaResolve(CGAbstractBindingMethod):