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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
index 62169ab76a67887a79619b90a23a4da218e58f30..3b97beff90a78becb2fe419b63644ec0aeb1197c 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
@@ -313,11 +313,11 @@ bool KeyframeEffectReadOnly::hasActiveAnimationsOnCompositor() const {
}
bool KeyframeEffectReadOnly::hasActiveAnimationsOnCompositor(
- CSSPropertyID property) const {
- return hasActiveAnimationsOnCompositor() && affects(PropertyHandle(property));
+ const PropertyHandle& property) const {
+ return hasActiveAnimationsOnCompositor() && affects(property);
}
-bool KeyframeEffectReadOnly::affects(PropertyHandle property) const {
+bool KeyframeEffectReadOnly::affects(const PropertyHandle& property) const {
return m_model && m_model->affects(property);
}

Powered by Google App Engine
This is Rietveld 408576698