Skip to content
Browse files

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.
  • Loading branch information
anholt committed Jan 4, 2017
1 parent c6f73a6 commit d90499ab358d54743482bad2370bee8334ea59b0
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/script/dom/bindings/codegen/
@@ -398,7 +398,7 @@ def pickFirstSignature(condition, filterLambda):
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

0 comments on commit d90499a

Please sign in to comment.
You can’t perform that action at this time.