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

Unified Diff: Source/core/paint/ScopeRecorder.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/ScopeRecorder.h
diff --git a/Source/core/paint/ScopeRecorder.h b/Source/core/paint/ScopeRecorder.h
index c209b93603aebddb2f7e6156bf788de34b647153..99ac59ca10dad2dd48da95776bc7c9a1392cda11 100644
--- a/Source/core/paint/ScopeRecorder.h
+++ b/Source/core/paint/ScopeRecorder.h
@@ -7,6 +7,7 @@
#include "core/CoreExport.h"
#include "platform/graphics/paint/DisplayItem.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -15,6 +16,7 @@ class GraphicsContext;
class LayoutObject;
class CORE_EXPORT ScopeRecorder {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
ScopeRecorder(GraphicsContext&);

Powered by Google App Engine
This is Rietveld 408576698