]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - dfg/DFGWorklist.h
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / dfg / DFGWorklist.h
index 3d0b5d6eed2d8d002b10ee91e122c0121a2a1627..bd6e6fa75f6240e27d30e633296d1a565250fd03 100644 (file)
@@ -33,7 +33,6 @@
 #include <wtf/Deque.h>
 #include <wtf/HashMap.h>
 #include <wtf/Noncopyable.h>
-#include <wtf/PassOwnPtr.h>
 #include <wtf/ThreadingPrimitives.h>
 
 namespace JSC {
@@ -49,7 +48,7 @@ public:
 
     ~Worklist();
     
-    static PassRefPtr<Worklist> create(CString worklistName, unsigned numberOfThreads, int relativePriority = 0);
+    static Ref<Worklist> create(CString worklistName, unsigned numberOfThreads, int relativePriority = 0);
     
     void enqueue(PassRefPtr<Plan>);