Index: third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h |
diff --git a/third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h b/third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h |
index 41808329777bdb71c82e895ca0c2ca5bb6ae47f2..7489a35ac5f2c9834f81d334e7aae2585d5c94e5 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h |
+++ b/third_party/WebKit/Source/platform/image-decoders/FastSharedBufferReader.h |
@@ -33,6 +33,8 @@ |
#include "platform/PlatformExport.h" |
#include "platform/SharedBuffer.h" |
+#include "wtf/Allocator.h" |
+#include "wtf/Noncopyable.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
@@ -42,7 +44,9 @@ namespace blink { |
// therefore minimizes the cost of memory copying when the decoders |
// repeatedly read from a buffer that is continually growing due to network |
// traffic. |
-class PLATFORM_EXPORT FastSharedBufferReader { |
+class PLATFORM_EXPORT FastSharedBufferReader final { |
+ DISALLOW_NEW(); |
+ WTF_MAKE_NONCOPYABLE(FastSharedBufferReader); |
public: |
FastSharedBufferReader(PassRefPtr<SharedBuffer> data); |