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

Unified Diff: Source/core/paint/DeprecatedPaintLayerReflectionInfo.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/DeprecatedPaintLayerReflectionInfo.h
diff --git a/Source/core/paint/DeprecatedPaintLayerReflectionInfo.h b/Source/core/paint/DeprecatedPaintLayerReflectionInfo.h
index 7c7c41dac9ebd6991285d3102da2b7ba51dd1d57..f3b89e955dfbbf027ba8c42fb443ea12cb7b0aa3 100644
--- a/Source/core/paint/DeprecatedPaintLayerReflectionInfo.h
+++ b/Source/core/paint/DeprecatedPaintLayerReflectionInfo.h
@@ -47,6 +47,7 @@
#include "core/layout/LayoutBoxModelObject.h"
#include "core/paint/DeprecatedPaintLayerPaintingInfo.h"
+#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
namespace blink {
@@ -55,6 +56,7 @@ class DeprecatedPaintLayer;
class LayoutReplica;
class DeprecatedPaintLayerReflectionInfo {
+ WTF_MAKE_FAST_ALLOCATED(DeprecatedPaintLayerReflectionInfo);
WTF_MAKE_NONCOPYABLE(DeprecatedPaintLayerReflectionInfo);
public:
explicit DeprecatedPaintLayerReflectionInfo(LayoutBox&);

Powered by Google App Engine
This is Rietveld 408576698