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

Unified Diff: Source/core/paint/DeprecatedPaintLayerFragment.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/DeprecatedPaintLayerFragment.h
diff --git a/Source/core/paint/DeprecatedPaintLayerFragment.h b/Source/core/paint/DeprecatedPaintLayerFragment.h
index ce542bed29f370b70fa06d11f6a589e2cf20ea5b..d40ffd59249ec19d44dfcba5bddaae7cb38d4456 100644
--- a/Source/core/paint/DeprecatedPaintLayerFragment.h
+++ b/Source/core/paint/DeprecatedPaintLayerFragment.h
@@ -27,11 +27,13 @@
#define DeprecatedPaintLayerFragment_h
#include "core/layout/ClipRect.h"
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
struct DeprecatedPaintLayerFragment {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
void setRects(const LayoutRect& bounds, const ClipRect& background, const ClipRect& foreground, const ClipRect& outline)
{

Powered by Google App Engine
This is Rietveld 408576698