Index: Source/platform/graphics/filters/FilterEffect.h |
diff --git a/Source/platform/graphics/filters/FilterEffect.h b/Source/platform/graphics/filters/FilterEffect.h |
index f441a52c4ee557a7a0c2fac3458c67917bfd6db2..13cb25dac2222c32fb16f4328d4cc42b088f0984 100644 |
--- a/Source/platform/graphics/filters/FilterEffect.h |
+++ b/Source/platform/graphics/filters/FilterEffect.h |
@@ -28,6 +28,7 @@ |
#include "platform/geometry/IntRect.h" |
#include "platform/graphics/Color.h" |
#include "platform/graphics/ColorSpace.h" |
+#include "platform/heap/Handle.h" |
#include "third_party/skia/include/core/SkImageFilter.h" |
@@ -45,7 +46,7 @@ class TextStream; |
class SkiaImageFilterBuilder; |
-typedef Vector<RefPtr<FilterEffect> > FilterEffectVector; |
+typedef WillBeHeapVector<RefPtrWillBeMember<FilterEffect> > FilterEffectVector; |
enum FilterEffectType { |
FilterEffectTypeUnknown, |
@@ -62,9 +63,10 @@ enum DetermineSubregionFlag { |
typedef int DetermineSubregionFlags; |
-class PLATFORM_EXPORT FilterEffect : public RefCounted<FilterEffect> { |
+class PLATFORM_EXPORT FilterEffect : public RefCountedWillBeGarbageCollectedFinalized<FilterEffect> { |
public: |
virtual ~FilterEffect(); |
+ virtual void trace(Visitor*); |
static bool isFilterSizeValid(const FloatRect&); |
static float maxFilterArea(); |