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

Unified Diff: Source/core/paint/RoundedInnerRectClipper.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/RoundedInnerRectClipper.h
diff --git a/Source/core/paint/RoundedInnerRectClipper.h b/Source/core/paint/RoundedInnerRectClipper.h
index d400b43156d05b900d4831464bf727f28f700b59..b802b2d9e92f60245e703b34defc244fe7080261 100644
--- a/Source/core/paint/RoundedInnerRectClipper.h
+++ b/Source/core/paint/RoundedInnerRectClipper.h
@@ -6,6 +6,7 @@
#define RoundedInnerRectClipper_h
#include "platform/graphics/paint/DisplayItem.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -20,6 +21,7 @@ enum RoundedInnerRectClipperBehavior {
};
class RoundedInnerRectClipper {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
RoundedInnerRectClipper(LayoutObject&, const PaintInfo&, const LayoutRect&, const FloatRoundedRect& clipRect, RoundedInnerRectClipperBehavior);
~RoundedInnerRectClipper();

Powered by Google App Engine
This is Rietveld 408576698