| Index: third_party/WebKit/Source/core/animation/Animation.h
|
| diff --git a/third_party/WebKit/Source/core/animation/Animation.h b/third_party/WebKit/Source/core/animation/Animation.h
|
| index 456b18b58ebbc016017ee97b6c516e6b392afe0a..72196c63012e11c6db1d1800bedb87c941984ec5 100644
|
| --- a/third_party/WebKit/Source/core/animation/Animation.h
|
| +++ b/third_party/WebKit/Source/core/animation/Animation.h
|
| @@ -37,7 +37,7 @@
|
| #include "bindings/core/v8/ScriptPromiseProperty.h"
|
| #include "core/CSSPropertyNames.h"
|
| #include "core/CoreExport.h"
|
| -#include "core/animation/AnimationEffect.h"
|
| +#include "core/animation/AnimationEffectReadOnly.h"
|
| #include "core/dom/ActiveDOMObject.h"
|
| #include "core/dom/DOMException.h"
|
| #include "core/events/EventTarget.h"
|
| @@ -73,7 +73,7 @@ public:
|
| Finished
|
| };
|
|
|
| - static Animation* create(AnimationEffect*, AnimationTimeline*);
|
| + static Animation* create(AnimationEffectReadOnly*, AnimationTimeline*);
|
| ~Animation();
|
| void dispose();
|
|
|
| @@ -134,9 +134,9 @@ public:
|
| void setStartTime(double);
|
| void setStartTimeInternal(double);
|
|
|
| - const AnimationEffect* effect() const { return m_content.get(); }
|
| - AnimationEffect* effect() { return m_content.get(); }
|
| - void setEffect(AnimationEffect*);
|
| + const AnimationEffectReadOnly* effect() const { return m_content.get(); }
|
| + AnimationEffectReadOnly* effect() { return m_content.get(); }
|
| + void setEffect(AnimationEffectReadOnly*);
|
|
|
| void setId(const String& id) { m_id = id; }
|
| const String& id() const { return m_id; }
|
| @@ -191,7 +191,7 @@ protected:
|
| void addedEventListener(const AtomicString& eventType, RegisteredEventListener&) override;
|
|
|
| private:
|
| - Animation(ExecutionContext*, AnimationTimeline&, AnimationEffect*);
|
| + Animation(ExecutionContext*, AnimationTimeline&, AnimationEffectReadOnly*);
|
|
|
| void clearOutdated();
|
|
|
| @@ -232,7 +232,7 @@ private:
|
| Member<AnimationPromise> m_finishedPromise;
|
| Member<AnimationPromise> m_readyPromise;
|
|
|
| - Member<AnimationEffect> m_content;
|
| + Member<AnimationEffectReadOnly> m_content;
|
| Member<AnimationTimeline> m_timeline;
|
|
|
| // Reflects all pausing, including via pauseForTesting().
|
|
|