Index: third_party/WebKit/Source/bindings/templates/methods.cpp |
diff --git a/third_party/WebKit/Source/bindings/templates/methods.cpp b/third_party/WebKit/Source/bindings/templates/methods.cpp |
index ffa3a997ce6527d6b4c4cfe1b8e4ee744765d67d..d50031fb42006b5db0d509620660ef7a8d54c20f 100644 |
--- a/third_party/WebKit/Source/bindings/templates/methods.cpp |
+++ b/third_party/WebKit/Source/bindings/templates/methods.cpp |
@@ -506,7 +506,7 @@ static void {{method.name}}MethodCallback{{world_suffix}}(const v8::FunctionCall |
{% if method.deprecate_as %} |
Deprecation::countDeprecationIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), UseCounter::{{method.deprecate_as}}); |
{% endif %} |
- {% if method.is_origin_trial_enabled %} |
+ {% if method.origin_trial_enabled_function %} |
{{check_origin_trial(method) | indent}} |
{% endif %} |
{% endif %}{# not method.overloads #} |