Index: Source/bindings/templates/constants.cpp |
diff --git a/Source/bindings/templates/constants.cpp b/Source/bindings/templates/constants.cpp |
index 267d581bf4af5eaeea8361b469d6f4bb1343391e..44fb1e730d61fc97126c2c0fd6d548c5a9ad5be6 100644 |
--- a/Source/bindings/templates/constants.cpp |
+++ b/Source/bindings/templates/constants.cpp |
@@ -32,18 +32,18 @@ static const V8DOMConfiguration::ConstantConfiguration {{v8_class}}Constants[] = |
{{constant_configuration(constant)}}, |
{% endfor %} |
}; |
-V8DOMConfiguration::installConstants(functionTemplate, prototypeTemplate, {{v8_class}}Constants, WTF_ARRAY_LENGTH({{v8_class}}Constants), isolate); |
+V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTemplate, {{v8_class}}Constants, WTF_ARRAY_LENGTH({{v8_class}}Constants)); |
{% endif %} |
{# Runtime-enabled constants #} |
{% for constant in runtime_enabled_constants %} |
{% filter runtime_enabled(constant.runtime_enabled_function) %} |
static const V8DOMConfiguration::ConstantConfiguration constantConfiguration = {{constant_configuration(constant)}}; |
-V8DOMConfiguration::installConstants(functionTemplate, prototypeTemplate, &constantConfiguration, 1, isolate); |
+V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTemplate, &constantConfiguration, 1); |
{% endfilter %} |
{% endfor %} |
{# Constants with [DeprecateAs] or [MeasureAs] #} |
{% for constant in special_getter_constants %} |
-V8DOMConfiguration::installConstant(functionTemplate, prototypeTemplate, "{{constant.name}}", {{cpp_class}}V8Internal::{{constant.name}}ConstantGetterCallback, isolate); |
+V8DOMConfiguration::installConstant(isolate, functionTemplate, prototypeTemplate, "{{constant.name}}", {{cpp_class}}V8Internal::{{constant.name}}ConstantGetterCallback); |
{% endfor %} |
{# Check constants #} |
{% if not do_not_check_constants %} |