Unzip initialization lists and constructors in JSCell hierarchy (5/7)
[WebKit-https.git] / Source / JavaScriptCore / API / JSCallbackFunction.cpp
index cc5561f..64d513e 100644 (file)
@@ -46,12 +46,12 @@ JSCallbackFunction::JSCallbackFunction(ExecState* exec, JSGlobalObject* globalOb
     : InternalFunction(globalObject, globalObject->callbackFunctionStructure())
     , m_callback(callback)
 {
-    finishCreation(exec->globalData(), globalObject, name);
+    finishCreation(exec->globalData(), name);
 }
 
-void JSCallbackFunction::finishCreation(JSGlobalData& globalData, JSGlobalObject* globalObject, const Identifier& name)
+void JSCallbackFunction::finishCreation(JSGlobalData& globalData, const Identifier& name)
 {
-    Base::finishCreation(globalData, globalObject, name);
+    Base::finishCreation(globalData, name);
     ASSERT(inherits(&s_info));
 }