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

Unified Diff: Source/core/layout/compositing/CompositingReasonFinder.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
Index: Source/core/layout/compositing/CompositingReasonFinder.h
diff --git a/Source/core/layout/compositing/CompositingReasonFinder.h b/Source/core/layout/compositing/CompositingReasonFinder.h
index dce28484af70ec6d2868d3e82d007b33466f420b..60e3ba1747093ae32e2b1c09709a692770dab5f4 100644
--- a/Source/core/layout/compositing/CompositingReasonFinder.h
+++ b/Source/core/layout/compositing/CompositingReasonFinder.h
@@ -7,6 +7,7 @@
#include "core/layout/compositing/CompositingTriggers.h"
#include "platform/graphics/CompositingReasons.h"
+#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
namespace blink {
@@ -17,6 +18,7 @@ class ComputedStyle;
class LayoutView;
class CompositingReasonFinder {
+ DISALLOW_ALLOCATION();
WTF_MAKE_NONCOPYABLE(CompositingReasonFinder);
public:
explicit CompositingReasonFinder(LayoutView&);

Powered by Google App Engine
This is Rietveld 408576698