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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h

Issue 2719083005: Use PropertyHandle instead of CSSPropertyID to identify CSS Transitions (Closed)
Patch Set: Rebasedagainaaaa Created 3 years, 10 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/KeyframeEffectReadOnly.h
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
index deae2317912ce2b47b314ee692455f7e1c794c37..c235ce57e256968753744f16cb53d0945f79bba1 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.h
@@ -55,7 +55,7 @@ class CORE_EXPORT KeyframeEffectReadOnly : public AnimationEffectReadOnly {
bool isKeyframeEffectReadOnly() const override { return true; }
- bool affects(PropertyHandle) const;
+ bool affects(const PropertyHandle&) const;
const EffectModel* model() const { return m_model.get(); }
EffectModel* model() { return m_model.get(); }
void setModel(EffectModel* model) { m_model = model; }
@@ -71,7 +71,7 @@ class CORE_EXPORT KeyframeEffectReadOnly : public AnimationEffectReadOnly {
double timeOffset,
double animationPlaybackRate);
bool hasActiveAnimationsOnCompositor() const;
- bool hasActiveAnimationsOnCompositor(CSSPropertyID) const;
+ bool hasActiveAnimationsOnCompositor(const PropertyHandle&) const;
bool cancelAnimationOnCompositor();
void restartAnimationOnCompositor();
void cancelIncompatibleAnimationsOnCompositor();

Powered by Google App Engine
This is Rietveld 408576698