Index: third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.h |
diff --git a/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.h b/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.h |
index b055c4451f06ed24d37cf8c945ebb50b2826a7f5..8564e8336f4ed666100855d53a60a2c62fc97a25 100644 |
--- a/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.h |
+++ b/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.h |
@@ -8,6 +8,8 @@ |
#include "platform/heap/Heap.h" |
#include "third_party/skia/include/core/SkImageInfo.h" |
#include "third_party/skia/include/core/SkPixmap.h" |
+#include "wtf/Allocator.h" |
+#include "wtf/Noncopyable.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
@@ -15,7 +17,9 @@ class SkImage; |
namespace blink { |
-class ImagePixelLocker { |
+class ImagePixelLocker final { |
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
+ WTF_MAKE_NONCOPYABLE(ImagePixelLocker); |
public: |
ImagePixelLocker(PassRefPtr<const SkImage>, SkAlphaType); |