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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp

Issue 1493633004: Make platform/image-decoders 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/image-decoders/png/PNGImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
index 643a2dc5255bb46bf9d40d48c05574727d203a39..9cf5ad6919a5f368c9cc6ca9ddd12aadf78967ea 100644
--- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
@@ -84,8 +84,9 @@ void PNGAPI pngFailed(png_structp png, png_const_charp)
namespace blink {
-class PNGImageReader {
+class PNGImageReader final {
USING_FAST_MALLOC(PNGImageReader);
+ WTF_MAKE_NONCOPYABLE(PNGImageReader);
public:
PNGImageReader(PNGImageDecoder* decoder, unsigned readOffset)
: m_decoder(decoder)

Powered by Google App Engine
This is Rietveld 408576698