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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.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/PaintArtifact.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
index 020ea8044b8e49e6f5ace6827d40a879e0482ba9..7607cbad087fbdc7f434565389169020560647e2 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h
@@ -8,6 +8,8 @@
#include "platform/PlatformExport.h"
#include "platform/graphics/paint/DisplayItemList.h"
#include "platform/graphics/paint/PaintChunk.h"
+#include "wtf/Allocator.h"
+#include "wtf/Noncopyable.h"
#include "wtf/Vector.h"
namespace blink {
@@ -21,7 +23,9 @@ class WebDisplayItemList;
//
// It represents a particular state of the world, and should be immutable
// (const) to most of its users.
-class PLATFORM_EXPORT PaintArtifact {
+class PLATFORM_EXPORT PaintArtifact final {
+ DISALLOW_NEW();
+ WTF_MAKE_NONCOPYABLE(PaintArtifact);
public:
PaintArtifact();
~PaintArtifact();

Powered by Google App Engine
This is Rietveld 408576698