Index: third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h |
index 498ec4ef8de1a367bada9d65254cb380d0156f3e..483a868f9e7c7a199129e27c191410137779ca77 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h |
@@ -6,6 +6,8 @@ |
#define SubsequenceRecorder_h |
#include "platform/graphics/paint/DisplayItem.h" |
+#include "wtf/Allocator.h" |
+#include "wtf/Noncopyable.h" |
namespace blink { |
@@ -20,7 +22,9 @@ class PaintController; |
// CachedSubsequence can be used. In particular, the client is responsible for checking that |
// none of the DisplayItemClients that contribute to the subsequence have been invalidated. |
// |
-class PLATFORM_EXPORT SubsequenceRecorder { |
+class PLATFORM_EXPORT SubsequenceRecorder final { |
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
+ WTF_MAKE_NONCOPYABLE(SubsequenceRecorder); |
public: |
static bool useCachedSubsequenceIfPossible(GraphicsContext&, const DisplayItemClientWrapper&); |