Index: third_party/WebKit/Source/bindings/scripts/v8_utilities.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_utilities.py b/third_party/WebKit/Source/bindings/scripts/v8_utilities.py |
index 0f7b3055cf9351c2f2aaf81aae9042143922c008..cb770bb9492051f5897afb10dd0e83c8c1c585f9 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_utilities.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_utilities.py |
@@ -402,14 +402,10 @@ def is_unforgeable(interface, member): |
not member.is_static) |
-# [TypeChecking=Interface] / [LegacyInterfaceTypeChecking] |
+# [LegacyInterfaceTypeChecking] |
def is_legacy_interface_type_checking(interface, member): |
- if not ('TypeChecking' in interface.extended_attributes or |
- 'TypeChecking' in member.extended_attributes): |
- return True |
- if 'LegacyInterfaceTypeChecking' in member.extended_attributes: |
- return True |
- return False |
+ return ('LegacyInterfaceTypeChecking' in interface.extended_attributes or |
+ 'LegacyInterfaceTypeChecking' in member.extended_attributes) |
# [Unforgeable], [Global], [PrimaryGlobal] |