diff options
author | Eric Anholt <eric@anholt.net> | 2017-01-03 23:37:42 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-01-04 09:57:39 -0800 |
commit | d90499ab358d54743482bad2370bee8334ea59b0 (patch) | |
tree | 6361f8d0e97250671609389b59eebc4523ad5115 /components/script/dom/bindings/codegen/CodegenRust.py | |
parent | c6f73a612a88a01a31d2674a00f10bd8509529f9 (diff) | |
download | servo-d90499ab358d54743482bad2370bee8334ea59b0.tar.gz servo-d90499ab358d54743482bad2370bee8334ea59b0.zip |
Fix is_null_or_undefined() call in codegen to be snake_case.
After a bit of digging, I couldn't find when it was camelCase. This
started getting generated when I added an overload in webgl.
Diffstat (limited to 'components/script/dom/bindings/codegen/CodegenRust.py')
-rw-r--r-- | components/script/dom/bindings/codegen/CodegenRust.py | 2 |
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 579f84301d3..21573cf4bea 100644 --- a/components/script/dom/bindings/codegen/CodegenRust.py +++ b/components/script/dom/bindings/codegen/CodegenRust.py @@ -398,7 +398,7 @@ class CGMethodCall(CGThing): return False # First check for null or undefined - pickFirstSignature("%s.isNullOrUndefined()" % distinguishingArg, + pickFirstSignature("%s.get().is_null_or_undefined()" % distinguishingArg, lambda s: (s[1][distinguishingIndex].type.nullable() or s[1][distinguishingIndex].type.isDictionary())) |