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

Unified Diff: Source/core/animation/CompositorAnimationsTest.cpp

Issue 204743002: Oilpan: Move AnimatableValue's hierarchy to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months 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/animation/AnimationEffect.h ('k') | Source/core/animation/InterpolableValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/CompositorAnimationsTest.cpp
diff --git a/Source/core/animation/CompositorAnimationsTest.cpp b/Source/core/animation/CompositorAnimationsTest.cpp
index 23a98e38de0f1446f1fc4651afd9e875a6848ee1..2bd811994e1969fd1b901cf8795b5821840ff4b4 100644
--- a/Source/core/animation/CompositorAnimationsTest.cpp
+++ b/Source/core/animation/CompositorAnimationsTest.cpp
@@ -150,7 +150,7 @@ public:
PassRefPtrWillBeRawPtr<Keyframe> createDefaultKeyframe(CSSPropertyID id, AnimationEffect::CompositeOperation op, double offset = 0)
{
- RefPtr<AnimatableValue> value;
+ RefPtrWillBeRawPtr<AnimatableValue> value;
if (id == CSSPropertyWebkitTransform)
value = AnimatableTransform::create(TransformOperations());
else
@@ -175,7 +175,7 @@ public:
OwnPtrWillBeRawPtr<KeyframeEffectModel::KeyframeVector> frames = adoptPtrWillBeNoop(new KeyframeEffectModel::KeyframeVector);
for (size_t i = 0; i < values.size(); i++) {
double offset = 1.0 / (values.size() - 1) * i;
- RefPtr<AnimatableDouble> value = AnimatableDouble::create(values[i]);
+ RefPtrWillBeRawPtr<AnimatableDouble> value = AnimatableDouble::create(values[i]);
frames->append(createReplaceOpKeyframe(CSSPropertyOpacity, value.get(), offset).get());
}
return frames.release();
« no previous file with comments | « Source/core/animation/AnimationEffect.h ('k') | Source/core/animation/InterpolableValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698