summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptCore/wtf/CrossThreadRefCounted.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/wtf/CrossThreadRefCounted.h')
-rw-r--r--Source/JavaScriptCore/wtf/CrossThreadRefCounted.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/wtf/CrossThreadRefCounted.h b/Source/JavaScriptCore/wtf/CrossThreadRefCounted.h
index 0c0e997..8b65977 100644
--- a/Source/JavaScriptCore/wtf/CrossThreadRefCounted.h
+++ b/Source/JavaScriptCore/wtf/CrossThreadRefCounted.h
@@ -51,7 +51,8 @@ namespace WTF {
// with respect to the original and any other copies. The underlying m_data is jointly
// owned by the original instance and all copies.
template<class T>
- class CrossThreadRefCounted : public Noncopyable {
+ class CrossThreadRefCounted {
+ WTF_MAKE_NONCOPYABLE(CrossThreadRefCounted);
public:
static PassRefPtr<CrossThreadRefCounted<T> > create(T* data)
{