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

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

Issue 2000483002: Clean up V8 bindings template code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/bindings/scripts/v8_interface.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_interface.py b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
index c448a0ab2ab7a8758200c85982a0b08e17120eb5..e73440cc6763370718a374b1128ecca96e7958e3 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_interface.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
@@ -282,25 +282,6 @@ def interface_context(interface):
context.update({
'attributes': attributes,
- 'has_accessor_configuration': any(
- not (attribute['exposed_test'] or
- attribute['runtime_enabled_function']) and
- not attribute['is_data_type_property'] and
- attribute['should_be_exposed_to_script']
- for attribute in attributes),
- 'has_attribute_configuration': any(
- not (attribute['exposed_test'] or
- attribute['runtime_enabled_function']) and
- attribute['is_data_type_property'] and
- attribute['should_be_exposed_to_script']
- for attribute in attributes),
- 'has_constructor_attributes': any(
- attribute['constructor_type']
- for attribute in attributes),
- 'has_replaceable_attributes': any(
- attribute['is_replaceable'] and
- not attribute['is_data_type_property']
- for attribute in attributes),
})
# Methods

Powered by Google App Engine
This is Rietveld 408576698