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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContextStateSaver.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/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)

Powered by Google App Engine
This is Rietveld 408576698