]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/ErrorConstructor.cpp
JavaScriptCore-621.1.tar.gz
[apple/javascriptcore.git] / runtime / ErrorConstructor.cpp
index 07b7e233814977111018ec8cb95e7b48993e9e6b..b9c3f586c298e4bb6af60ba0c24cf237c6241e61 100644 (file)
@@ -29,7 +29,7 @@ namespace JSC {
 
 ASSERT_CLASS_FITS_IN_CELL(ErrorConstructor);
 
-ErrorConstructor::ErrorConstructor(ExecState* exec, PassRefPtr<Structure> structure, ErrorPrototype* errorPrototype)
+ErrorConstructor::ErrorConstructor(ExecState* exec, NonNullPassRefPtr<Structure> structure, ErrorPrototype* errorPrototype)
     : InternalFunction(&exec->globalData(), structure, Identifier(exec, errorPrototype->classInfo()->className))
 {
     // ECMA 15.11.3.1 Error.prototype