diff options
Diffstat (limited to 'Source/WebCore/rendering/RenderOverflow.h')
-rw-r--r-- | Source/WebCore/rendering/RenderOverflow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/rendering/RenderOverflow.h b/Source/WebCore/rendering/RenderOverflow.h index 2430b882d..257030527 100644 --- a/Source/WebCore/rendering/RenderOverflow.h +++ b/Source/WebCore/rendering/RenderOverflow.h @@ -22,6 +22,7 @@ #define RenderOverflow_h #include "LayoutRect.h" +#include <wtf/RefCounted.h> namespace WebCore { @@ -34,10 +35,10 @@ namespace WebCore // Layout overflow examples include other boxes that spill out of our box, For example, in the inline case a tall image // could spill out of a line box. -// Examples of visual overflow are shadows, text stroke (and eventually outline and border-image). +// Examples of visual overflow are shadows, text stroke, outline (and eventually border-image). // This object is allocated only when some of these fields have non-default values in the owning box. -class RenderOverflow { +class RenderOverflow : public WTF::RefCounted<RenderOverflow> { WTF_MAKE_NONCOPYABLE(RenderOverflow); WTF_MAKE_FAST_ALLOCATED; public: RenderOverflow(const LayoutRect& layoutRect, const LayoutRect& visualRect) |