Index: third_party/WebKit/Source/platform/graphics/ThreadSafeDataTransport.h |
diff --git a/third_party/WebKit/Source/platform/graphics/ThreadSafeDataTransport.h b/third_party/WebKit/Source/platform/graphics/ThreadSafeDataTransport.h |
index 7c3ab37cc2721733c648587e6565fa6e6e73916b..3aae9477b99af41fe65a01a3fb3f524f5cb824ba 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ThreadSafeDataTransport.h |
+++ b/third_party/WebKit/Source/platform/graphics/ThreadSafeDataTransport.h |
@@ -32,6 +32,7 @@ |
#include "wtf/OwnPtr.h" |
#include "wtf/PassOwnPtr.h" |
#include "wtf/RefPtr.h" |
+#include "wtf/ThreadSafeRefCounted.h" |
#include "wtf/ThreadingPrimitives.h" |
#include "wtf/Vector.h" |
@@ -45,8 +46,8 @@ class SharedBuffer; |
// |
// This class is designed such that there is only one producer and |
// one consumer. |
-class PLATFORM_EXPORT ThreadSafeDataTransport final { |
- DISALLOW_NEW(); |
+ |
+class PLATFORM_EXPORT ThreadSafeDataTransport final : public ThreadSafeRefCounted<ThreadSafeDataTransport> { |
WTF_MAKE_NONCOPYABLE(ThreadSafeDataTransport); |
public: |
ThreadSafeDataTransport(); |