Index: third_party/WebKit/Source/bindings/scripts/v8_attributes.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py |
index c88be2b30bec854c7f1c83e5ffff1cfce7e4b4e3..940e8f6002230d32efcf8c44be1d2fcebbc04fc7 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py |
@@ -365,6 +365,8 @@ def is_keep_alive_for_gc(interface, attribute): |
idl_type = attribute.idl_type |
base_idl_type = idl_type.base_type |
extended_attributes = attribute.extended_attributes |
+ if attribute.is_static: |
+ return False |
return ( |
# For readonly attributes, for performance reasons we keep the attribute |
# wrapper alive while the owner wrapper is alive, because the attribute |