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

Unified Diff: Source/core/layout/PaintInvalidationState.h

Issue 1318713003: Make classes and structures in core/layout 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
« no previous file with comments | « Source/core/layout/OrderIterator.h ('k') | Source/core/layout/PendingSelection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/PaintInvalidationState.h
diff --git a/Source/core/layout/PaintInvalidationState.h b/Source/core/layout/PaintInvalidationState.h
index b482869e02f1361225cf472aadc524627d7ed0e5..c175dce32f7193a2bd6a13757e6781942c1a5e3f 100644
--- a/Source/core/layout/PaintInvalidationState.h
+++ b/Source/core/layout/PaintInvalidationState.h
@@ -7,6 +7,7 @@
#include "platform/geometry/LayoutRect.h"
#include "platform/transforms/AffineTransform.h"
+#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
namespace blink {
@@ -17,6 +18,7 @@ class LayoutSVGModelObject;
class LayoutView;
class PaintInvalidationState {
+ STACK_ALLOCATED();
WTF_MAKE_NONCOPYABLE(PaintInvalidationState);
public:
PaintInvalidationState(PaintInvalidationState& next, LayoutBoxModelObject& layoutObject, const LayoutBoxModelObject& paintInvalidationContainer);
« no previous file with comments | « Source/core/layout/OrderIterator.h ('k') | Source/core/layout/PendingSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698