Index: tools/dom/scripts/systemnative.py |
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py |
index 74f61df54a296a1f4d4bb3fbc4af133caab824c7..36f73cc1951426722c0d57d3155424910a615a90 100644 |
--- a/tools/dom/scripts/systemnative.py |
+++ b/tools/dom/scripts/systemnative.py |
@@ -1382,7 +1382,6 @@ class CPPLibraryEmitter(): |
is_node_test = lambda interface: interface.id == 'Node' |
is_active_test = lambda interface: 'ActiveDOMObject' in interface.ext_attrs |
is_event_target_test = lambda interface: 'EventTarget' in interface.ext_attrs |
- |
def TypeCheckHelper(test): |
return 'true' if any(map(test, database.Hierarchy(interface))) else 'false' |
for interface in database.GetInterfaces(): |