Index: Source/core/style/CachedUAStyle.h |
diff --git a/Source/core/style/CachedUAStyle.h b/Source/core/style/CachedUAStyle.h |
index 6ae44c8e8e96301941718fbce89bd4d2bddf8f20..87e5ce2b440fbee8ba9411bd5f996d835751f608 100644 |
--- a/Source/core/style/CachedUAStyle.h |
+++ b/Source/core/style/CachedUAStyle.h |
@@ -23,6 +23,8 @@ |
#define CachedUAStyle_h |
#include "core/style/ComputedStyle.h" |
+#include "wtf/FastAllocBase.h" |
+#include "wtf/Noncopyable.h" |
namespace blink { |
@@ -31,6 +33,8 @@ namespace blink { |
// We use this class to cache those values during |
// applyMatchedProperties for later use during adjustComputedStyle. |
class CachedUAStyle { |
+ WTF_MAKE_FAST_ALLOCATED(CachedUAStyle); |
+ WTF_MAKE_NONCOPYABLE(CachedUAStyle); |
public: |
static PassOwnPtr<CachedUAStyle> create(const ComputedStyle* style) |
{ |