| Index: lib/dom/scripts/generator.py
|
| diff --git a/lib/dom/scripts/generator.py b/lib/dom/scripts/generator.py
|
| index c2a8f1c8269d265fac50405da3ceffa5e2c1e7b2..ab4eee27d2f51069f009bf3150121cd2f340acb4 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."""
|
|
|