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

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

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 5 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/ImageStyleInterpolation.cpp ('k') | Source/core/animation/KeyframeEffectTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/KeyframeEffectModelTest.cpp
diff --git a/Source/core/animation/KeyframeEffectModelTest.cpp b/Source/core/animation/KeyframeEffectModelTest.cpp
index 6c6ca41801ea3df5411ec6044045b0c1edc1b16e..5e7612a28f78fe5be9270e04450b191409cd085d 100644
--- a/Source/core/animation/KeyframeEffectModelTest.cpp
+++ b/Source/core/animation/KeyframeEffectModelTest.cpp
@@ -44,7 +44,7 @@ const double duration = 1.0;
PassRefPtrWillBeRawPtr<AnimatableValue> unknownAnimatableValue(double n)
{
- return AnimatableUnknown::create(CSSPrimitiveValue::create(n, CSSPrimitiveValue::CSS_UNKNOWN).get());
+ return AnimatableUnknown::create(CSSPrimitiveValue::create(n, CSSPrimitiveValue::CSS_UNKNOWN));
}
PassRefPtrWillBeRawPtr<AnimatableValue> pixelAnimatableValue(double n)
@@ -81,7 +81,7 @@ void expectDoubleValue(double expectedValue, PassRefPtrWillBeRawPtr<Interpolatio
if (value->isLength())
actualValue = toAnimatableLength(value.get())->length(1, ValueRangeAll).value();
else
- actualValue = toCSSPrimitiveValue(toAnimatableUnknown(value.get())->toCSSValue().get())->getDoubleValue();
+ actualValue = toCSSPrimitiveValue(toAnimatableUnknown(value.get())->toCSSValue()).getDoubleValue();
EXPECT_FLOAT_EQ(static_cast<float>(expectedValue), actualValue);
}
« no previous file with comments | « Source/core/animation/ImageStyleInterpolation.cpp ('k') | Source/core/animation/KeyframeEffectTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698