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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h

Issue 2649103007: Make PropertyHandle instances const references where possible (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h
index c5b67aae00d939a82d8b595a079c760e489006a5..14aa1702239c9285501a7a741424ad0cb96cbff7 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h
@@ -51,7 +51,7 @@ class CORE_EXPORT AnimatableValueKeyframe : public Keyframe {
double offset,
PassRefPtr<TimingFunction> easing) const final;
PassRefPtr<Interpolation> createInterpolation(
- PropertyHandle,
+ const PropertyHandle&,
const Keyframe::PropertySpecificKeyframe& end) const final;
private:
@@ -80,7 +80,7 @@ class CORE_EXPORT AnimatableValueKeyframe : public Keyframe {
PassRefPtr<Keyframe> clone() const override;
PassRefPtr<Keyframe::PropertySpecificKeyframe> createPropertySpecificKeyframe(
- PropertyHandle) const override;
+ const PropertyHandle&) const override;
bool isAnimatableValueKeyframe() const override { return true; }

Powered by Google App Engine
This is Rietveld 408576698