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

Unified Diff: Source/platform/graphics/filters/ReferenceFilter.cpp

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/ReferenceFilter.h ('k') | Source/platform/graphics/filters/SourceAlpha.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/ReferenceFilter.cpp
diff --git a/Source/platform/graphics/filters/ReferenceFilter.cpp b/Source/platform/graphics/filters/ReferenceFilter.cpp
index bbbb15b85e7b37290d3fb07a87c005359cc98598..60d1dd20104038cd9d313f7387f86d408f6667aa 100644
--- a/Source/platform/graphics/filters/ReferenceFilter.cpp
+++ b/Source/platform/graphics/filters/ReferenceFilter.cpp
@@ -43,13 +43,20 @@ ReferenceFilter::ReferenceFilter(float scale)
{
}
-void ReferenceFilter::setLastEffect(PassRefPtr<FilterEffect> effect)
+ReferenceFilter::~ReferenceFilter()
{
- m_lastEffect = effect;
}
-ReferenceFilter::~ReferenceFilter()
+void ReferenceFilter::trace(Visitor* visitor)
{
+ visitor->trace(m_sourceGraphic);
+ visitor->trace(m_lastEffect);
+ Filter::trace(visitor);
+}
+
+void ReferenceFilter::setLastEffect(PassRefPtrWillBeRawPtr<FilterEffect> effect)
+{
+ m_lastEffect = effect;
}
} // namespace blink
« no previous file with comments | « Source/platform/graphics/filters/ReferenceFilter.h ('k') | Source/platform/graphics/filters/SourceAlpha.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698