summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/StyledElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/StyledElement.cpp')
-rw-r--r--Source/WebCore/dom/StyledElement.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/dom/StyledElement.cpp b/Source/WebCore/dom/StyledElement.cpp
index e75cd531d..12feb2af4 100644
--- a/Source/WebCore/dom/StyledElement.cpp
+++ b/Source/WebCore/dom/StyledElement.cpp
@@ -59,6 +59,8 @@ struct PresentationAttributeCacheKey {
};
struct PresentationAttributeCacheEntry {
+ WTF_MAKE_FAST_ALLOCATED;
+public:
PresentationAttributeCacheKey key;
RefPtr<StylePropertySet> value;
};
@@ -79,7 +81,7 @@ static PresentationAttributeCache& presentationAttributeCache()
}
class PresentationAttributeCacheCleaner {
- WTF_MAKE_NONCOPYABLE(PresentationAttributeCacheCleaner);
+ WTF_MAKE_NONCOPYABLE(PresentationAttributeCacheCleaner); WTF_MAKE_FAST_ALLOCATED;
public:
PresentationAttributeCacheCleaner()
: m_cleanTimer(this, &PresentationAttributeCacheCleaner::cleanCache)