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

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

Issue 1238943004: CSSValue Immediates: Replace CSSValue usage with const references (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/ListStyleInterpolationTest.cpp
diff --git a/Source/core/animation/ListStyleInterpolationTest.cpp b/Source/core/animation/ListStyleInterpolationTest.cpp
index 7ab7642dcc8565cf7fbc60ba378da589e29dc19e..f6c622f0203e4392480f9aaab44a3905e8c98e83 100644
--- a/Source/core/animation/ListStyleInterpolationTest.cpp
+++ b/Source/core/animation/ListStyleInterpolationTest.cpp
@@ -26,8 +26,8 @@ protected:
ASSERT(actualList.isValueList());
for (size_t i = 0; i < 10; i++) {
- CSSValue currentExpectedValue = expectedList->item(i);
- CSSValue currentActualValue = toCSSValueList(actualList).item(i);
+ const CSSValue& currentExpectedValue = expectedList->item(i);
+ const CSSValue& currentActualValue = toCSSValueList(actualList).item(i);
ASSERT(currentExpectedValue.isPrimitiveValue());
ASSERT(currentActualValue.isPrimitiveValue());
« no previous file with comments | « Source/core/animation/LengthBoxStyleInterpolation.cpp ('k') | Source/core/animation/animatable/AnimatableImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698