mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 1704293 - Fix lint on Codegen.py . CLOSED TREE
This commit is contained in:
parent
c7da51d612
commit
058229227c
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user