Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: Source/bindings/scripts/v8_interface.py

Issue 953473002: bindings: Supports [Replaceable] accessors. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/scripts/v8_interface.py
diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py
index 981ef3990312733abff06dcc94cd52863db5ddb6..42014a67bee8ae2a74441d116bf63ee8c95c4935 100644
--- a/Source/bindings/scripts/v8_interface.py
+++ b/Source/bindings/scripts/v8_interface.py
@@ -308,7 +308,10 @@ def interface_context(interface):
for attribute in attributes),
'has_conditional_attributes': has_conditional_attributes,
'has_constructor_attributes': any(attribute['constructor_type'] for attribute in attributes),
- 'has_replaceable_attributes': any(attribute['is_replaceable'] for attribute in attributes),
+ 'has_replaceable_attributes': any(
+ attribute['is_replaceable'] and
+ not attribute['is_expose_js_accessors']
+ for attribute in attributes),
})
# Methods

Powered by Google App Engine
This is Rietveld 408576698