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

Unified Diff: Source/core/rendering/FilterEffectRenderer.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/core/paint/FilterPainter.cpp ('k') | Source/core/rendering/FilterEffectRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/FilterEffectRenderer.h
diff --git a/Source/core/rendering/FilterEffectRenderer.h b/Source/core/rendering/FilterEffectRenderer.h
index 4e2fa9c413d07fdcd124eca37bb7a5f986aede7d..e403c9bce50eb1beb8b740c10ae5ffbc77c8bf2d 100644
--- a/Source/core/rendering/FilterEffectRenderer.h
+++ b/Source/core/rendering/FilterEffectRenderer.h
@@ -27,6 +27,7 @@
#define FilterEffectRenderer_h
#include "platform/graphics/filters/FilterEffect.h"
+#include "platform/heap/Handle.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
@@ -40,32 +41,32 @@ class GraphicsContext;
class ReferenceFilter;
class RenderObject;
-class FilterEffectRenderer final : public RefCounted<FilterEffectRenderer>
-{
- WTF_MAKE_FAST_ALLOCATED;
+class FilterEffectRenderer final : public RefCountedWillBeGarbageCollectedFinalized<FilterEffectRenderer> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- virtual ~FilterEffectRenderer();
- static PassRefPtr<FilterEffectRenderer> create()
+ static PassRefPtrWillBeRawPtr<FilterEffectRenderer> create()
{
- return adoptRef(new FilterEffectRenderer());
+ return adoptRefWillBeNoop(new FilterEffectRenderer());
}
+ virtual ~FilterEffectRenderer();
+ void trace(Visitor*);
+
bool build(RenderObject* renderer, const FilterOperations&);
void clearIntermediateResults();
- PassRefPtr<FilterEffect> lastEffect() const
+ PassRefPtrWillBeRawPtr<FilterEffect> lastEffect() const
{
return m_lastEffect;
}
-private:
+private:
FilterEffectRenderer();
- RefPtr<FilterEffect> m_lastEffect;
- Vector<RefPtr<ReferenceFilter> > m_referenceFilters;
+ RefPtrWillBeMember<FilterEffect> m_lastEffect;
+ WillBeHeapVector<RefPtrWillBeMember<ReferenceFilter> > m_referenceFilters;
};
} // namespace blink
-
#endif // FilterEffectRenderer_h
« no previous file with comments | « Source/core/paint/FilterPainter.cpp ('k') | Source/core/rendering/FilterEffectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698