Index: tools/dom/scripts/generator.py |
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py |
index 6f31a7d397e127d594f2c87b51d2656a20a1af2d..2cdc750cb08df551f60a4c1c003a785f62db9a7d 100644 |
--- a/tools/dom/scripts/generator.py |
+++ b/tools/dom/scripts/generator.py |
@@ -1447,7 +1447,7 @@ def wrap_unwrap_type_blink(return_type, type_registry): |
return_type == 'SqlDatabase' or # renamed to Database |
return_type == 'HTMLElement' or |
return_type == 'MutationObserver' or |
- return_type.endswith('[]')) |
+ (return_type.endswith('[]') and return_type != 'DOMString[]')) |
def wrap_type_blink(return_type, type_registry): |
"""Returns True if the type is a blink type that requires wrap_jso but |