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

Unified Diff: third_party/WebKit/Source/core/animation/Keyframe.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/Keyframe.h
diff --git a/third_party/WebKit/Source/core/animation/Keyframe.h b/third_party/WebKit/Source/core/animation/Keyframe.h
index bbafe935a027b6997d5157179cf56bae6c898f86..9a70eb90f02d4054b18ed5881fe955618940f3c6 100644
--- a/third_party/WebKit/Source/core/animation/Keyframe.h
+++ b/third_party/WebKit/Source/core/animation/Keyframe.h
@@ -98,7 +98,7 @@ class CORE_EXPORT Keyframe : public RefCounted<Keyframe> {
double offset,
PassRefPtr<TimingFunction> easing) const = 0;
virtual PassRefPtr<Interpolation> createInterpolation(
- PropertyHandle,
+ const PropertyHandle&,
const Keyframe::PropertySpecificKeyframe& end) const;
protected:
@@ -112,7 +112,7 @@ class CORE_EXPORT Keyframe : public RefCounted<Keyframe> {
};
virtual PassRefPtr<PropertySpecificKeyframe> createPropertySpecificKeyframe(
- PropertyHandle) const = 0;
+ const PropertyHandle&) const = 0;
protected:
Keyframe()

Powered by Google App Engine
This is Rietveld 408576698