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

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

Issue 2394993002: Move Priority enum/field to KeyframeEffectReadOnly (Closed)
Patch Set: Created 4 years, 2 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/KeyframeEffect.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
index 742c5ab56f59ba899ea98708bedb37beebe48712..85ce7b94362af5dc3a1ce0dbb4a375af1c607e26 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
@@ -50,11 +50,12 @@
namespace blink {
-KeyframeEffect* KeyframeEffect::create(Element* target,
- EffectModel* model,
- const Timing& timing,
- KeyframeEffect::Priority priority,
- EventDelegate* eventDelegate) {
+KeyframeEffect* KeyframeEffect::create(
+ Element* target,
+ EffectModel* model,
+ const Timing& timing,
+ KeyframeEffectReadOnly::Priority priority,
+ EventDelegate* eventDelegate) {
return new KeyframeEffect(target, model, timing, priority, eventDelegate);
}
@@ -115,10 +116,9 @@ KeyframeEffect* KeyframeEffect::create(
KeyframeEffect::KeyframeEffect(Element* target,
EffectModel* model,
const Timing& timing,
- KeyframeEffect::Priority priority,
+ KeyframeEffectReadOnly::Priority priority,
EventDelegate* eventDelegate)
- : KeyframeEffectReadOnly(target, model, timing, eventDelegate),
- m_priority(priority) {}
+ : KeyframeEffectReadOnly(target, model, timing, priority, eventDelegate) {}
KeyframeEffect::~KeyframeEffect() {}

Powered by Google App Engine
This is Rietveld 408576698