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

Unified Diff: Source/platform/graphics/filters/FilterEffect.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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
« no previous file with comments | « Source/platform/graphics/filters/Filter.h ('k') | Source/platform/graphics/filters/FilterEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/platform/graphics/filters/Filter.h ('k') | Source/platform/graphics/filters/FilterEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698