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

Unified Diff: third_party/WebKit/Source/core/animation/Interpolation.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/Interpolation.h
diff --git a/third_party/WebKit/Source/core/animation/Interpolation.h b/third_party/WebKit/Source/core/animation/Interpolation.h
index 8adbf33374ad51504e4fb45885d31ef2645a26bc..1404f4cb0d7bbe039dea81458c10d6ae8ba12ff9 100644
--- a/third_party/WebKit/Source/core/animation/Interpolation.h
+++ b/third_party/WebKit/Source/core/animation/Interpolation.h
@@ -28,7 +28,7 @@ class CORE_EXPORT Interpolation : public RefCounted<Interpolation> {
virtual bool isInvalidatableInterpolation() const { return false; }
virtual bool isLegacyStyleInterpolation() const { return false; }
- virtual PropertyHandle getProperty() const = 0;
+ virtual const PropertyHandle& getProperty() const = 0;
virtual bool dependsOnUnderlyingValue() const { return false; }
protected:
« no previous file with comments | « third_party/WebKit/Source/core/animation/EffectModel.h ('k') | third_party/WebKit/Source/core/animation/InterpolationEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698