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/LengthStyleInterpolation.h

Issue 1233363002: 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/LengthStyleInterpolation.h
diff --git a/Source/core/animation/LengthStyleInterpolation.h b/Source/core/animation/LengthStyleInterpolation.h
index 5d8389238136adccd3353debb6ffa4a3c837a41b..360c3b9d9bff55e08fdc9e14e6417fd1e6e3b263 100644
--- a/Source/core/animation/LengthStyleInterpolation.h
+++ b/Source/core/animation/LengthStyleInterpolation.h
@@ -24,13 +24,13 @@ public:
return adoptRefWillBeNoop(new LengthStyleInterpolation(toInterpolableValue(start, id), toInterpolableValue(end, id), id, range));
}
- static bool canCreateFrom(const CSSValue, CSSPropertyID = CSSPropertyInvalid);
+ static bool canCreateFrom(const CSSValue&, CSSPropertyID = CSSPropertyInvalid);
virtual void apply(StyleResolverState&) const override;
DECLARE_VIRTUAL_TRACE();
- static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(const CSSValue, CSSPropertyID = CSSPropertyInvalid);
+ static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(const CSSValue&, CSSPropertyID = CSSPropertyInvalid);
static CSSPrimitiveValue fromInterpolableValue(const InterpolableValue&, InterpolationRange);
private:
« no previous file with comments | « Source/core/animation/LengthPairStyleInterpolationTest.cpp ('k') | Source/core/animation/LengthStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698