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

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

Issue 1226123008: CSSValue Immediates: Replace CSSPrimitiveValue usage with const references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_4_attempt_2
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 92b3b49a40d03642fee06be59a40367d5f3fa2a8..2f23d6eb5bffccf02741fd1ac89624d4ed5ad08e 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);
« no previous file with comments | « Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp ('k') | Source/core/animation/ShadowStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698