Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index 64eb5417a3662fe03c088463c72b5c6238fbec8e..321cf4a95a69a567b8945fe2f560c23bd8a972a1 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -551,7 +551,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
if (DOMWrapperWorld::current(info.GetIsolate()).isIsolatedWorld()) { |
{% for attribute in any_type_attributes %} |
if (!{{attribute.name}}.IsEmpty()) |
- event->setSerialized{{attribute.name | blink_capitalize}}(SerializedScriptValue::createAndSwallowExceptions(info.GetIsolate(), {{attribute.name}})); |
+ event->setSerialized{{attribute.name | blink_capitalize}}(SerializedScriptValueFactory::instance().createAndSwallowExceptions(info.GetIsolate(), {{attribute.name}})); |
{% endfor %} |
} |