projects
/
apple
/
javascriptcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git]
/
heap
/
GCThread.h
diff --git
a/heap/GCThread.h
b/heap/GCThread.h
index 0d218f9757237b25bbd7c4c852c558ccb64485ef..b7277992c9f8c24aa52cc073c025dbb93c283c71 100644
(file)
--- a/
heap/GCThread.h
+++ b/
heap/GCThread.h
@@
-28,7
+28,6
@@
#include <GCThreadSharedData.h>
#include <wtf/Deque.h>
#include <GCThreadSharedData.h>
#include <wtf/Deque.h>
-#include <wtf/OwnPtr.h>
#include <wtf/Threading.h>
namespace JSC {
#include <wtf/Threading.h>
namespace JSC {
@@
-39,7
+38,7
@@
class SlotVisitor;
class GCThread {
public:
class GCThread {
public:
- GCThread(GCThreadSharedData&,
SlotVisitor*, CopyVisitor*
);
+ GCThread(GCThreadSharedData&,
std::unique_ptr<SlotVisitor>, std::unique_ptr<CopyVisitor>
);
SlotVisitor* slotVisitor();
CopyVisitor* copyVisitor();
SlotVisitor* slotVisitor();
CopyVisitor* copyVisitor();
@@
-54,8
+53,8
@@
private:
ThreadIdentifier m_threadID;
GCThreadSharedData& m_shared;
ThreadIdentifier m_threadID;
GCThreadSharedData& m_shared;
-
OwnP
tr<SlotVisitor> m_slotVisitor;
-
OwnP
tr<CopyVisitor> m_copyVisitor;
+
std::unique_p
tr<SlotVisitor> m_slotVisitor;
+
std::unique_p
tr<CopyVisitor> m_copyVisitor;
};
} // namespace JSC
};
} // namespace JSC