Generate Element casting helper functions
[WebKit.git] / Source / WebCore / bindings / scripts / test / JS / JSTestSerializedScriptValueInterface.cpp
index 867d0c0..8f257bf 100644 (file)
@@ -362,7 +362,7 @@ JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject* globalObject, TestSerializ
     return createNewWrapper<JSTestSerializedScriptValueInterface>(globalObject, impl);
 }
 
-TestSerializedScriptValueInterface* toTestSerializedScriptValueInterface(JSC::JSValue value)
+TestSerializedScriptValueInterface* JSTestSerializedScriptValueInterface::toWrapped(JSC::JSValue value)
 {
     if (auto* wrapper = jsDynamicCast<JSTestSerializedScriptValueInterface*>(value))
         return &wrapper->impl();