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

Unified Diff: Source/core/animation/VisibilityStyleInterpolation.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
« no previous file with comments | « Source/core/animation/StringKeyframe.h ('k') | Source/core/animation/animatable/AnimatableImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/VisibilityStyleInterpolation.cpp
diff --git a/Source/core/animation/VisibilityStyleInterpolation.cpp b/Source/core/animation/VisibilityStyleInterpolation.cpp
index 1df65fe4b4e94ec3f096223519a5d497a24ac411..3d87799eea44da1d16695f5b9982598f02cbd3a1 100644
--- a/Source/core/animation/VisibilityStyleInterpolation.cpp
+++ b/Source/core/animation/VisibilityStyleInterpolation.cpp
@@ -19,7 +19,7 @@ bool VisibilityStyleInterpolation::isVisible(const CSSValue& value)
PassOwnPtrWillBeRawPtr<InterpolableValue> VisibilityStyleInterpolation::visibilityToInterpolableValue(const CSSValue& value)
{
ASSERT(value.isPrimitiveValue());
- const CSSPrimitiveValue primitive = toCSSPrimitiveValue(value);
+ const CSSPrimitiveValue& primitive = toCSSPrimitiveValue(value);
ASSERT(primitive.isValueID());
const CSSValueID valueID = primitive.getValueID();
« no previous file with comments | « Source/core/animation/StringKeyframe.h ('k') | Source/core/animation/animatable/AnimatableImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698