Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index 41d0bfbe15a71678753e988424c0544f5a7649d3..9ee24214422363e81c7322ef4cbbd89f2c40ae71 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -553,7 +553,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 %} |
} |