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

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

Issue 1225553002: CSSValue Immediates: Make CSSPrimitiveValue a container (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_1
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
Index: Source/core/animation/KeyframeEffectModelTest.cpp
diff --git a/Source/core/animation/KeyframeEffectModelTest.cpp b/Source/core/animation/KeyframeEffectModelTest.cpp
index 5e7612a28f78fe5be9270e04450b191409cd085d..449a46d813c801c0cf424c2122796856833f90a3 100644
--- a/Source/core/animation/KeyframeEffectModelTest.cpp
+++ b/Source/core/animation/KeyframeEffectModelTest.cpp
@@ -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()).getDoubleValue();
+ actualValue = toAnimatableUnknown(value.get())->toCSSValue().getDoubleValue();
EXPECT_FLOAT_EQ(static_cast<float>(expectedValue), actualValue);
}
« no previous file with comments | « Source/core/animation/ImageSliceStyleInterpolation.cpp ('k') | Source/core/animation/LengthBoxStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698