| Index: lib/dom/scripts/generator.py
|
| diff --git a/lib/dom/scripts/generator.py b/lib/dom/scripts/generator.py
|
| index e0c7b552f16dc2de2f21f877f5edbdcca1f097d3..dd5b2eb15f09cb5cbdf8c5567558cbb09f5f1c7c 100644
|
| --- a/lib/dom/scripts/generator.py
|
| +++ b/lib/dom/scripts/generator.py
|
| @@ -161,11 +161,8 @@ def MakeNativeSpec(javascript_binding_name):
|
| return '*' + javascript_binding_name
|
|
|
|
|
| -def MatchSourceFilter(filter, thing):
|
| - if not filter:
|
| - return True
|
| - else:
|
| - return any(token in thing.annotations for token in filter)
|
| +def MatchSourceFilter(thing):
|
| + return 'WebKit' in thing.annotations or 'Dart' in thing.annotations
|
|
|
|
|
| def DartType(idl_type_name):
|
|
|