Index: third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h b/third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h |
index c514f569945b026ea310d82fff8175cb6f19e23f..d2277639abb4f0b34258757a40304f09dbe2b145 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.h |
@@ -31,11 +31,14 @@ |
#include "platform/PlatformExport.h" |
#include "platform/graphics/GraphicsContext.h" |
+#include "wtf/Allocator.h" |
+#include "wtf/Noncopyable.h" |
namespace blink { |
-class PLATFORM_EXPORT GraphicsContextStateSaver { |
+class PLATFORM_EXPORT GraphicsContextStateSaver final { |
USING_FAST_MALLOC(GraphicsContextStateSaver); |
+ WTF_MAKE_NONCOPYABLE(GraphicsContextStateSaver); |
public: |
GraphicsContextStateSaver(GraphicsContext& context, bool saveAndRestore = true) |
: m_context(context) |