Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(770)

Unified Diff: third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.h

Issue 1497683002: Make platform/graphics to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698