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/core/animation/KeyframeEffectModelTest.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
Index: Source/core/animation/KeyframeEffectModelTest.cpp
diff --git a/Source/core/animation/KeyframeEffectModelTest.cpp b/Source/core/animation/KeyframeEffectModelTest.cpp
index 4d438eb09bbf42c58b67223703d02fc0a7d54195..50eda1402e829ba489520de61c2fa838591b9f75 100644
--- a/Source/core/animation/KeyframeEffectModelTest.cpp
+++ b/Source/core/animation/KeyframeEffectModelTest.cpp
@@ -42,17 +42,17 @@ using namespace WebCore;
namespace {
-PassRefPtr<AnimatableValue> unknownAnimatableValue(double n)
+PassRefPtrWillBeRawPtr<AnimatableValue> unknownAnimatableValue(double n)
{
return AnimatableUnknown::create(CSSPrimitiveValue::create(n, CSSPrimitiveValue::CSS_UNKNOWN).get());
}
-PassRefPtr<AnimatableValue> pixelAnimatableValue(double n)
+PassRefPtrWillBeRawPtr<AnimatableValue> pixelAnimatableValue(double n)
{
return AnimatableLength::create(CSSPrimitiveValue::create(n, CSSPrimitiveValue::CSS_PX).get());
}
-KeyframeEffectModel::KeyframeVector keyframesAtZeroAndOne(PassRefPtr<AnimatableValue> zeroValue, PassRefPtr<AnimatableValue> oneValue)
+KeyframeEffectModel::KeyframeVector keyframesAtZeroAndOne(PassRefPtrWillBeRawPtr<AnimatableValue> zeroValue, PassRefPtrWillBeRawPtr<AnimatableValue> oneValue)
{
KeyframeEffectModel::KeyframeVector keyframes(2);
keyframes[0] = Keyframe::create();
@@ -73,7 +73,7 @@ void expectProperty(CSSPropertyID property, PassRefPtr<Interpolation> interpolat
void expectDoubleValue(double expectedValue, PassRefPtr<Interpolation> interpolationValue)
{
LegacyStyleInterpolation* interpolation = toLegacyStyleInterpolation(interpolationValue.get());
- RefPtr<AnimatableValue> value = interpolation->currentValue();
+ RefPtrWillBeRawPtr<AnimatableValue> value = interpolation->currentValue();
ASSERT_TRUE(value->isLength() || value->isUnknown());
« no previous file with comments | « Source/core/animation/KeyframeEffectModel.cpp ('k') | Source/core/animation/css/CSSAnimatableValueFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698