| Index: lib/dom/scripts/dartgenerator.py
|
| diff --git a/lib/dom/scripts/dartgenerator.py b/lib/dom/scripts/dartgenerator.py
|
| index 887eedc3c8f475d7f4af1a8e49d944a2e90b302e..250583230c9306774143010d028afe99a9131624 100755
|
| --- a/lib/dom/scripts/dartgenerator.py
|
| +++ b/lib/dom/scripts/dartgenerator.py
|
| @@ -423,7 +423,10 @@ class DartGenerator(object):
|
| operations = operationsById[id]
|
| info = AnalyzeOperation(interface, operations)
|
| for generator in generators:
|
| - generator.AddOperation(info)
|
| + if info.IsStatic():
|
| + generator.AddStaticOperation(info)
|
| + else:
|
| + generator.AddOperation(info)
|
|
|
| # With multiple inheritance, attributes and operations of non-first
|
| # interfaces need to be added. Sometimes the attribute or operation is
|
| @@ -638,5 +641,8 @@ class DummyInterfaceGenerator(object):
|
| def AddOperation(self, info):
|
| pass
|
|
|
| + def AddStaticOperation(self, info):
|
| + pass
|
| +
|
| def AddEventAttributes(self, event_attrs):
|
| pass
|
|
|