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

Unified Diff: Source/core/paint/CompositingRecorder.h

Issue 1319893002: Make classes and structures in core/paint fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months 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: Source/core/paint/CompositingRecorder.h
diff --git a/Source/core/paint/CompositingRecorder.h b/Source/core/paint/CompositingRecorder.h
index b5982753cc62a65d94f523bbd980c294506c08db..344117d917917cac7cd8c5b9319a377d0770a199 100644
--- a/Source/core/paint/CompositingRecorder.h
+++ b/Source/core/paint/CompositingRecorder.h
@@ -9,6 +9,7 @@
#include "platform/graphics/GraphicsTypes.h"
#include "platform/graphics/paint/DisplayItem.h"
#include "public/platform/WebBlendMode.h"
+#include "wtf/FastAllocBase.h"
namespace blink {
@@ -16,6 +17,7 @@ class GraphicsContext;
class LayoutObject;
class CompositingRecorder {
+ WTF_MAKE_FAST_ALLOCATED(CompositingRecorder);
public:
CompositingRecorder(GraphicsContext&, const DisplayItemClientWrapper&, const SkXfermode::Mode, const float opacity, const FloatRect* bounds = 0, ColorFilter = ColorFilterNone);

Powered by Google App Engine
This is Rietveld 408576698