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

Unified Diff: Source/core/animation/animatable/AnimatableFilterOperations.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
Index: Source/core/animation/animatable/AnimatableFilterOperations.cpp
diff --git a/Source/core/animation/animatable/AnimatableFilterOperations.cpp b/Source/core/animation/animatable/AnimatableFilterOperations.cpp
index 9e18605991a74a2ea9ea4f461630e92db63ff2ba..fada823c4fd2014f68d8ea731e7b71dbf3059a3f 100644
--- a/Source/core/animation/animatable/AnimatableFilterOperations.cpp
+++ b/Source/core/animation/animatable/AnimatableFilterOperations.cpp
@@ -54,7 +54,7 @@ PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableFilterOperations::interpolateT
for (size_t i = 0; i < size; i++) {
FilterOperation* from = (i < fromSize) ? m_operations.operations()[i].get() : 0;
FilterOperation* to = (i < toSize) ? target->m_operations.operations()[i].get() : 0;
- RefPtr<FilterOperation> blendedOp = FilterOperation::blend(from, to, fraction);
+ RefPtrWillBeRawPtr<FilterOperation> blendedOp = FilterOperation::blend(from, to, fraction);
if (blendedOp)
result.operations().append(blendedOp);
else
@@ -68,4 +68,10 @@ bool AnimatableFilterOperations::equalTo(const AnimatableValue* value) const
return operations() == toAnimatableFilterOperations(value)->operations();
}
+void AnimatableFilterOperations::trace(Visitor* visitor)
+{
+ visitor->trace(m_operations);
+ AnimatableValue::trace(visitor);
}
+
+} // namespace blink
« no previous file with comments | « Source/core/animation/animatable/AnimatableFilterOperations.h ('k') | Source/core/animation/animatable/AnimatableSVGLength.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698