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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintChunker.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/paint/PaintChunker.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h
index ddf8811128b0cd0cd25c65fa1f7dd670192b9ed1..ef8671469c70fbb8e432b6dc9f3d2af8d43c80be 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h
@@ -8,6 +8,8 @@
#include "platform/PlatformExport.h"
#include "platform/graphics/paint/PaintChunk.h"
#include "platform/graphics/paint/PaintChunkProperties.h"
+#include "wtf/Allocator.h"
+#include "wtf/Noncopyable.h"
#include "wtf/Vector.h"
namespace blink {
@@ -15,7 +17,9 @@ namespace blink {
// Accepts information about changes to |PaintChunkProperties| as drawings are
// accumulated, and produces a series of paint chunks: contiguous ranges of the
// display list with identical |PaintChunkProperties|.
-class PLATFORM_EXPORT PaintChunker {
+class PLATFORM_EXPORT PaintChunker final {
+ DISALLOW_NEW();
+ WTF_MAKE_NONCOPYABLE(PaintChunker);
public:
PaintChunker();
~PaintChunker();

Powered by Google App Engine
This is Rietveld 408576698