Index: third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h |
index 872c1f75bcacf82f308f59c2099a8ae98f5b0f32..ae4b93ec3fe86469d46280af0f3e7c76a857e8bd 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h |
@@ -9,6 +9,8 @@ |
#include "platform/geometry/FloatRect.h" |
#include "platform/graphics/paint/DrawingDisplayItem.h" |
+#include "wtf/Allocator.h" |
+#include "wtf/Noncopyable.h" |
#ifndef NDEBUG |
#include "wtf/text/WTFString.h" |
@@ -18,7 +20,9 @@ namespace blink { |
class GraphicsContext; |
-class PLATFORM_EXPORT DrawingRecorder { |
+class PLATFORM_EXPORT DrawingRecorder final { |
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
+ WTF_MAKE_NONCOPYABLE(DrawingRecorder); |
public: |
static bool useCachedDrawingIfPossible(GraphicsContext&, const DisplayItemClientWrapper&, DisplayItem::Type); |