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

Unified Diff: third_party/WebKit/Source/core/animation/StringKeyframe.cpp

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/StringKeyframe.cpp
diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
index 420eafc6c8c31204ab99caa264cff832fad6bdf0..7f6bb9ff9a12d9a22745bbcbd3278c741543413d 100644
--- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
+++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
@@ -100,7 +100,8 @@ PassRefPtr<Keyframe> StringKeyframe::clone() const {
}
PassRefPtr<Keyframe::PropertySpecificKeyframe>
-StringKeyframe::createPropertySpecificKeyframe(PropertyHandle property) const {
+StringKeyframe::createPropertySpecificKeyframe(
+ const PropertyHandle& property) const {
if (property.isCSSProperty())
return CSSPropertySpecificKeyframe::create(
offset(), &easing(), &cssPropertyValue(property), composite());

Powered by Google App Engine
This is Rietveld 408576698