Unreviewed, fix build.
[WebKit-https.git] / Source / JavaScriptCore / API / ObjCCallbackFunction.mm
index ae755a4fcaf3a091b68b1e35a83311207431ccf3..b23515b058d6d9c2b3e8dbd2f8311b3630903eca 100644 (file)
@@ -615,7 +615,7 @@ JSObjectRef objCCallbackFunctionForBlock(JSContext *context, id target)
 
 id tryUnwrapBlock(JSObjectRef object)
 {
 
 id tryUnwrapBlock(JSObjectRef object)
 {
-    if (!toJS(object)->inherits(&JSC::ObjCCallbackFunction::s_info))
+    if (!toJS(object)->inherits(JSC::ObjCCallbackFunction::info()))
         return nil;
     return static_cast<JSC::ObjCCallbackFunction*>(toJS(object))->impl()->wrappedBlock();
 }
         return nil;
     return static_cast<JSC::ObjCCallbackFunction*>(toJS(object))->impl()->wrappedBlock();
 }