Unzip initialization lists and constructors in JSCell hierarchy (6/7)
[WebKit-https.git] / Source / WebCore / bridge / objc / objc_instance.mm
index a6aaf60..06fc90f 100644 (file)
@@ -189,9 +189,17 @@ public:
     static const ClassInfo s_info;
 
 private:
+    typedef RuntimeMethod Base;
+
     ObjCRuntimeMethod(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, const Identifier& name, Bindings::MethodList& list)
-        : RuntimeMethod(exec, globalObject, structure, name, list)
+        : RuntimeMethod(globalObject, structure, list)
+    {
+        finishCreation(exec->globalData(), name);
+    }
+
+    void finishCreation(JSGlobalData& globalData, const Identifier& name)
     {
+        Base::finishCreation(globalData, name);
         ASSERT(inherits(&s_info));
     }
 };