| Index: lib/dom/scripts/generator.py
|
| diff --git a/lib/dom/scripts/generator.py b/lib/dom/scripts/generator.py
|
| index 35a42d10c3b97e5fff6aec9d666bc0bc021041bb..8217e6939551df0b2bf042101fd8169c66db5ae0 100644
|
| --- a/lib/dom/scripts/generator.py
|
| +++ b/lib/dom/scripts/generator.py
|
| @@ -377,6 +377,11 @@ class OperationInfo(object):
|
| argtexts.append('[' + ', '.join(map(FormatParam, optional)) + ']')
|
| return ', '.join(argtexts)
|
|
|
| + def IsStatic(self):
|
| + is_static = self.overloads[0].is_static
|
| + assert any([is_static == o.is_static for o in self.overloads])
|
| + return is_static
|
| +
|
|
|
| def AttributeOutputOrder(a, b):
|
| """Canonical output ordering for attributes."""
|
|
|