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

Unified Diff: Source/core/animation/SVGStrokeDasharrayStyleInterpolationTest.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/SVGStrokeDasharrayStyleInterpolationTest.cpp
diff --git a/Source/core/animation/SVGStrokeDasharrayStyleInterpolationTest.cpp b/Source/core/animation/SVGStrokeDasharrayStyleInterpolationTest.cpp
index c0157a76ec7deef06ba04e0cbde6e10ce1463651..92b3b49a40d03642fee06be59a40367d5f3fa2a8 100644
--- a/Source/core/animation/SVGStrokeDasharrayStyleInterpolationTest.cpp
+++ b/Source/core/animation/SVGStrokeDasharrayStyleInterpolationTest.cpp
@@ -29,7 +29,7 @@ protected:
static void testPrimitiveValue(const CSSValue& cssValue, double value, CSSPrimitiveValue::UnitType unitType)
{
EXPECT_TRUE(cssValue.isPrimitiveValue());
- const CSSPrimitiveValue& primitiveValue = toCSSPrimitiveValue(cssValue);
+ const CSSPrimitiveValue primitiveValue = toCSSPrimitiveValue(cssValue);
EXPECT_EQ(primitiveValue.primitiveType(), unitType);
EXPECT_EQ(primitiveValue.getDoubleValue(), value);
@@ -70,7 +70,7 @@ TEST_F(AnimationSVGStrokeDasharrayStyleInterpolationTest, SingleUnit)
TEST_F(AnimationSVGStrokeDasharrayStyleInterpolationTest, None)
{
- RefPtrWillBeRawPtr<CSSPrimitiveValue> start = CSSPrimitiveValue::createIdentifier(CSSValueNone);
+ CSSPrimitiveValue start = CSSPrimitiveValue::createIdentifier(CSSValueNone);
RefPtrWillBeRawPtr<CSSValueList> value = roundTrip(start);
EXPECT_EQ(value->length(), 1u);
« no previous file with comments | « Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp ('k') | Source/core/animation/ShadowStyleInterpolation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698