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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.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/ClipRecorder.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h b/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h
index ea9af1109a56f366ced96bd2cac4a5986eb30638..2f2c8d53d99f0f46ccbb7c4140c4c40d21d6a732 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h
@@ -8,13 +8,16 @@
#include "SkRegion.h"
#include "platform/geometry/LayoutRect.h"
#include "platform/graphics/paint/DisplayItem.h"
+#include "wtf/Allocator.h"
+#include "wtf/Noncopyable.h"
namespace blink {
class GraphicsContext;
class PLATFORM_EXPORT ClipRecorder {
- USING_FAST_MALLOC(ClipRecorder);
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
+ WTF_MAKE_NONCOPYABLE(ClipRecorder);
public:
ClipRecorder(GraphicsContext&, const DisplayItemClientWrapper&, DisplayItem::Type, const LayoutRect& clipRect);
~ClipRecorder();

Powered by Google App Engine
This is Rietveld 408576698