X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..refs/heads/master:/API/JSClassRef.h?ds=sidebyside diff --git a/API/JSClassRef.h b/API/JSClassRef.h index 926f082..fa024d3 100644 --- a/API/JSClassRef.h +++ b/API/JSClassRef.h @@ -85,8 +85,8 @@ public: }; struct OpaqueJSClass : public ThreadSafeRefCounted { - static PassRefPtr create(const JSClassDefinition*); - static PassRefPtr createNoAutomaticPrototype(const JSClassDefinition*); + static Ref create(const JSClassDefinition*); + static Ref createNoAutomaticPrototype(const JSClassDefinition*); JS_EXPORT_PRIVATE ~OpaqueJSClass(); String className(); @@ -120,8 +120,8 @@ private: // Strings in these data members should not be put into any AtomicStringTable. String m_className; - OwnPtr m_staticValues; - OwnPtr m_staticFunctions; + std::unique_ptr m_staticValues; + std::unique_ptr m_staticFunctions; }; #endif // JSClassRef_h