Index: third_party/WebKit/Source/bindings/scripts/v8_utilities.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_utilities.py b/third_party/WebKit/Source/bindings/scripts/v8_utilities.py |
index 4691f57ec122126f6e03d94644c703113bfdd20d..f3b8a1c12867aa6fa843ceecd6bb2a0c6fb85cc7 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_utilities.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_utilities.py |
@@ -402,6 +402,13 @@ def origin_trial_enabled_function_name(definition_or_member): |
return None |
+def origin_trial_feature_name(definition_or_member): |
+ extended_attributes = definition_or_member.extended_attributes |
+ if 'OriginTrialEnabled' not in extended_attributes: |
+ return None |
+ return extended_attributes['OriginTrialEnabled'] |
+ |
+ |
def runtime_feature_name(definition_or_member): |
extended_attributes = definition_or_member.extended_attributes |
if 'RuntimeEnabled' not in extended_attributes: |